From e27445c8ea11f47ddf809386ae73ef0db9e1b08f Mon Sep 17 00:00:00 2001 From: Charles Lowell Date: Tue, 16 Feb 2010 15:30:31 -0600 Subject: [PATCH] don't use g++ to build the shared library on darwin --- ext/v8/extconf.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/v8/extconf.rb b/ext/v8/extconf.rb index 53fe53f..8cede8b 100755 --- a/ext/v8/extconf.rb +++ b/ext/v8/extconf.rb @@ -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')