1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00
therubyracer/extconf.rb
Bill Robertson 138ef05d6a g++ now directing the linking, so extern "C" works. The example
code now also creates a simple struct and shuffles some data
around in it.  Also using the _allocate & _free stuff.
2009-10-08 20:46:59 -04:00

11 lines
183 B
Ruby

require 'mkmf'
CONFIG['LDSHARED'] = "g++ -shared"
#CPP.sub!(CONFIG['CPP'], 'g++ -E')
#LINK.sub!(CONFIG['CC'], 'g++')
# dir_config('v8')
# have_library('v8')
create_makefile('v8')