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

Merge remote-tracking branch 'kalabiyau/master'

This commit is contained in:
Charles Lowell 2011-10-06 12:14:05 -05:00
commit ff1abe7ca5

View file

@ -7,7 +7,6 @@ rescue LoadError
require 'libv8'
end
have_library('pthread')
have_library('objc') if RUBY_PLATFORM =~ /darwin/
#we have to manually prepend the libv8 include path to INCFLAGS
@ -20,7 +19,7 @@ $CPPFLAGS += " -g" unless $CPPFLAGS.split.include? "-g"
$CPPFLAGS += " -rdynamic" unless $CPPFLAGS.split.include? "-rdynamic"
$DEFLIBPATH.unshift(Libv8.library_path)
$LIBS << ' -lv8'
$LIBS << ' -lv8 -lpthread'
CONFIG['LDSHARED'] = '$(CXX) -shared' unless RUBY_PLATFORM =~ /darwin/