From 1024c6ebafbbc1f35a50b4f22c365f8025e4de29 Mon Sep 17 00:00:00 2001 From: Charles Lowell Date: Mon, 15 Feb 2010 23:12:34 -0600 Subject: [PATCH] for linking to be handled by g++ --- ext/v8/extconf.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/v8/extconf.rb b/ext/v8/extconf.rb index b8fe203..802d639 100755 --- a/ext/v8/extconf.rb +++ b/ext/v8/extconf.rb @@ -23,6 +23,8 @@ have_library('v8') $CPPFLAGS += " -Wall" unless $CPPFLAGS.split.include? "-Wall" +CONFIG['LDSHARED'] = '$(CXX) -shared' + create_makefile('v8') # now add a few extra targets