1
0
Fork 0
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:
Charles Lowell 2010-05-09 22:13:22 -05:00
parent 36f7ed45c9
commit 6201e22a57

View file

@ -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"