Merge pull request #20496 from veblush/fix-ruby-build

Use -static-libstdc++ for ruby.linux
pull/20517/head
Esun Kim 5 years ago committed by GitHub
commit 8b5b1755ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/ruby/ext/grpc/extconf.rb

@ -76,6 +76,7 @@ if grpc_config == 'dbg'
end
$LDFLAGS << ' -Wl,-wrap,memcpy' if RUBY_PLATFORM =~ /linux/
$LDFLAGS << ' -static-libgcc -static-libstdc++' if RUBY_PLATFORM =~ /linux/
$LDFLAGS << ' -static' if windows
$CFLAGS << ' -std=c99 '

Loading…
Cancel
Save