mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
force linking agaist the objc runtime if we are running OSX
This commit is contained in:
parent
36f7ed45c9
commit
6201e22a57
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@ system("cd #{UPSTREAM} && make") or raise "Error compiling V8"
|
|||
dir_config('v8', "#{BUILD}/include", "#{BUILD}")
|
||||
have_library('v8') or raise "Unable to find libv8 in #{BUILD}, was there an error compiling it?"
|
||||
have_library('pthread')
|
||||
have_library('objc') if RUBY_PLATFORM =~ /darwin/
|
||||
|
||||
$CPPFLAGS += " -Wall" unless $CPPFLAGS.split.include? "-Wall"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue