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:
commit
ff1abe7ca5
1 changed files with 1 additions and 2 deletions
|
@ -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/
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue