Remove undefined reference warning in Ruby build

pull/7474/head
murgatroid99 8 years ago
parent ab8dfb8021
commit 90e5b2e58e
  1. 1
      src/ruby/ext/grpc/extconf.rb

@ -92,7 +92,6 @@ if grpc_config == 'gcov'
end end
$LDFLAGS << ' -Wl,-wrap,memcpy' if RUBY_PLATFORM =~ /linux/ $LDFLAGS << ' -Wl,-wrap,memcpy' if RUBY_PLATFORM =~ /linux/
$LDFLAGS << ' -Wl,--no-undefined' if RUBY_PLATFORM =~ /linux/
$LDFLAGS << ' -static' if windows $LDFLAGS << ' -static' if windows
$CFLAGS << ' -std=c99 ' $CFLAGS << ' -std=c99 '

Loading…
Cancel
Save