1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00

explicitly require pthread for v8 since it isn't always assumed for all versions of ruby

This commit is contained in:
Charles Lowell 2010-03-15 00:11:39 -05:00
parent eb8b348161
commit e30e74d0da

View file

@ -10,6 +10,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')
$CPPFLAGS += " -Wall" unless $CPPFLAGS.split.include? "-Wall"