From d35549779282c903840e6dd9bc4e6ef3d06f877e Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Wed, 3 Feb 2016 02:11:43 +0100 Subject: Removing memcpy's wrapper for windows-ruby. --- src/ruby/ext/grpc/extconf.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ruby/ext') diff --git a/src/ruby/ext/grpc/extconf.rb b/src/ruby/ext/grpc/extconf.rb index ab27b0415d..f6f78f7810 100644 --- a/src/ruby/ext/grpc/extconf.rb +++ b/src/ruby/ext/grpc/extconf.rb @@ -92,7 +92,8 @@ if grpc_config == 'gcov' $LDFLAGS << ' -fprofile-arcs -ftest-coverage -rdynamic' end -$LDFLAGS << ' -Wl,-wrap,memcpy' +$LDFLAGS << ' -Wl,-wrap,memcpy' if RUBY_PLATFORM =~ /linux/ +$LDFLAGS << ' -static' if windows $CFLAGS << ' -std=c99 ' $CFLAGS << ' -Wall ' -- cgit v1.2.3