Skip to content
Snippets Groups Projects
Commit a6721315 authored by Esun Kim's avatar Esun Kim
Browse files

Use -static-libstdc++ for ruby.linux

parent 85a500c1
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