mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
don't use g++ to build the shared library on darwin
This commit is contained in:
parent
6c0b150046
commit
e27445c8ea
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ have_library('v8') or raise "Unable to find libv8 in #{BUILD}, was there an erro
|
|||
|
||||
$CPPFLAGS += " -Wall" unless $CPPFLAGS.split.include? "-Wall"
|
||||
|
||||
CONFIG['LDSHARED'] = '$(CXX) -shared'
|
||||
CONFIG['LDSHARED'] = '$(CXX) -shared' unless RUBY_PLATFORM =~ /darwin/
|
||||
|
||||
create_makefile('v8')
|
||||
|
||||
|
|
Loading…
Reference in a new issue