Sha256: bc82a588cc4a29a383b69cc36f2bcee7f727963fbac3e8803408bb5ccd97efb7
Contents?: true
Size: 641 Bytes
Versions: 2
Compression:
Stored size: 641 Bytes
Contents
require "mkmf" cflags = "-shared -fPIC" ldflags = "" case RUBY_PLATFORM when /solaris/ cflags = " -G -fPIC " CONFIG['LDSHARED'] = "$(CXX) -G -fPIC" if CONFIG['CC'] == 'cc' cflags = "-g -O2 -fPIC" CONFIG['CCDLFLAGS'] = "-fPIC" end when /darwin/ ldflags = "-framework CoreServices" end $CFLAGS = CONFIG['CFLAGS'] = " #{cflags} " $LDFLAGS = CONFIG['LDFLAGS'] = " #{ldflags} " `cd libuv; CFLAGS="#{cflags}" make; cd ..; cp libuv/uv.a libuv.a` dir_config("uv", File.expand_path("../libuv/include", __FILE__), File.expand_path("../libuv", __FILE__)) have_library("uv") create_makefile("noderb_extension")
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
noderb-0.0.12 | ext/noderb_extension/extconf.rb |
noderb-0.0.11 | ext/noderb_extension/extconf.rb |