Sha256: 953d1ef2d24709b0a919e9dc70cf1c8c24637eca4323dfa685d31604e70db5d0
Contents?: true
Size: 572 Bytes
Versions: 1
Compression:
Stored size: 572 Bytes
Contents
require 'rubygems' require 'mkmf-rice' arch = 'x64' # TODO: find out how to discover current arch v8_dir = File.expand_path("../../vendor/v8", __FILE__) v8_ccflags = '-fPIC' Dir.chdir v8_dir do ccflags, ENV['CCFLAGS'] = ENV['CCFLAGS'], v8_ccflags system "scons mode=release snapshot=off library=static arch=#{arch}" if Dir["**/libv8.a"].empty? ENV['CCFLAGS'] = ccflags; end libv8 = Dir[v8_dir + "/**/libv8.a"].first $LOCAL_LIBS << libv8 dir_config 'mustang' find_header 'v8.h', v8_dir + "/include/" have_header 'pthread' create_makefile 'mustang'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mustang-0.0.1 | ext/extconf.rb |