Skip to content

Commit

Permalink
Fix builds with -Wl,--as-needed (#36).
Browse files Browse the repository at this point in the history
  • Loading branch information
whitequark committed Jan 25, 2015
1 parent c9f02e2 commit 08cc699
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/ruby-llvm-support/Rakefile
Expand Up @@ -66,7 +66,7 @@ desc "Build the shared library and config module"
task :default => [SUPPORT_LIB, CONFIG_MOD]

file SUPPORT_LIB => %w(support.cpp) do |task|
sh "#{CXX} -shared -lLLVM-#{LLVM_VERSION} #{task.prerequisites.join(' ')} " \
sh "#{CXX} -shared #{task.prerequisites.join(' ')} -lLLVM-#{LLVM_VERSION} " \
"#{invoke_llvm_config('--cxxflags --ldflags')} -o #{SUPPORT_LIB}"
end

Expand Down

0 comments on commit 08cc699

Please sign in to comment.