Skip to content
Snippets Groups Projects
Unverified Commit 8b5b1755 authored by Esun Kim's avatar Esun Kim Committed by GitHub
Browse files

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

Use -static-libstdc++ for ruby.linux
parents 11058748 a6721315
No related branches found
No related tags found
No related merge requests found
...@@ -76,6 +76,7 @@ if grpc_config == 'dbg' ...@@ -76,6 +76,7 @@ if grpc_config == 'dbg'
end end
$LDFLAGS << ' -Wl,-wrap,memcpy' if RUBY_PLATFORM =~ /linux/ $LDFLAGS << ' -Wl,-wrap,memcpy' if RUBY_PLATFORM =~ /linux/
$LDFLAGS << ' -static-libgcc -static-libstdc++' if RUBY_PLATFORM =~ /linux/
$LDFLAGS << ' -static' if windows $LDFLAGS << ' -static' if windows
$CFLAGS << ' -std=c99 ' $CFLAGS << ' -std=c99 '
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment