From 9e56ce034f8f9d086c25ff7987d3a097cd365d15 Mon Sep 17 00:00:00 2001
From: murgatroid99 <mlumish@google.com>
Date: Wed, 8 Jul 2015 11:31:52 -0700
Subject: [PATCH] Fixed ruby build when rebuilding C core

---
 src/ruby/ext/grpc/extconf.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ruby/ext/grpc/extconf.rb b/src/ruby/ext/grpc/extconf.rb
index de5b0ea336..f49fbdecbc 100644
--- a/src/ruby/ext/grpc/extconf.rb
+++ b/src/ruby/ext/grpc/extconf.rb
@@ -85,7 +85,7 @@ else
     end
     unless File.exist?(File.join(grpc_lib_dir, 'libgrpc.a'))
       print "Building internal gRPC\n"
-      system("make -C #{root} static_c CONFIG=#{config}")
+      system("make -C #{grpc_root} static_c CONFIG=#{grpc_config}")
     end
     $CFLAGS << ' -I' + File.join(grpc_root, 'include')
     $LDFLAGS << ' -L' + grpc_lib_dir
-- 
GitLab