Sha256: 0dad3e7a572cccfea48d456c5d508193b8c6cceec65688d9459d2321f6de9515
Contents?: true
Size: 961 Bytes
Versions: 13
Compression:
Stored size: 961 Bytes
Contents
file 'ext/libuv/out' => 'ext/libuv/build/gyp' do target_arch = 'ia32'if FFI::Platform.ia32? target_arch = 'x64' if FFI::Platform.x64? abort "Don't know how to build on #{FFI::Platform::ARCH} (yet)" unless target_arch Dir.chdir("ext/libuv") do |path| system "./gyp_uv.py -f make -Dtarget_arch=#{target_arch} -Duv_library=shared_library -Dcomponent=shared_library" end end file "ext/libuv/out/Release/lib.target/libuv.#{FFI::Platform::LIBSUFFIX}" => 'ext/libuv/out' do Dir.chdir("ext/libuv") do |path| system 'make -C out BUILDTYPE=Release' end end file "ext/libuv.#{FFI::Platform::LIBSUFFIX}" => "ext/libuv/out/Release/lib.target/libuv.#{FFI::Platform::LIBSUFFIX}" do File.symlink("libuv/out/Release/lib.target/libuv.#{FFI::Platform::LIBSUFFIX}", "ext/libuv.#{FFI::Platform::LIBSUFFIX}") end CLEAN.include('ext/libuv/out') CLOBBER.include("ext/libuv/out/Release/lib.target/libuv.#{FFI::Platform::LIBSUFFIX}")
Version data entries
13 entries across 13 versions & 1 rubygems