1
0
Fork 0
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:
Charles Lowell 2010-02-16 15:30:31 -06:00
parent 6c0b150046
commit e27445c8ea

View file

@ -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')