Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Ensure the built fox16.so is striped, since that is not the default f…

…or Ruby 1.9.3
  • Loading branch information...
commit 2c7f323d13c53ef941e0d0ba5745b7dda8d898d5 1 parent 8f891e1
Lars Kanis authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  ext/fox16/extconf.rb
2  ext/fox16/extconf.rb
View
@@ -81,7 +81,7 @@ def do_rake_compiler_setup
CONFIG['CC'] += "\nCXX=#{ENV['CROSS_PREFIX']}-g++" # Hack CXX into Makefile for cross compilation
CONFIG['LDSHARED'].gsub!('gcc', 'g++') # ensure C++ linker is used, so that libstdc++ is linked static
- $LDFLAGS += " -static-libgcc -static-libstdc++" # mingw-w64 v4.7 defaults to dynamic linking
+ $LDFLAGS += " -s -static-libgcc -static-libstdc++" # mingw-w64 v4.7 defaults to dynamic linking
elsif RUBY_PLATFORM =~ /mingw/
$CFLAGS = $CFLAGS + " -I/usr/local/include"
$LDFLAGS = $LDFLAGS + " -I/usr/local/lib"
Please sign in to comment.
Something went wrong with that request. Please try again.