ext/charguess/extconf.rb in charguess-1.2 vs ext/charguess/extconf.rb in charguess-1.3

- old
+ new

@@ -4,10 +4,10 @@ require 'rake' libcharguess = File.expand_path(File.dirname(__FILE__), "../libcharguess/cpp") Dir.chdir(libcharguess) do - sh("./configure") + sh("env CXXFLAGS=\"$CXXFLAGS -fPIC\" ./configure") sh("make") end dir_config('charguess', libcharguess, libcharguess)