Sha256: df2c8597d47b730cdc43f3d5df1292d12bbb92d466c2d1eb2bbc02310dfd3a8b
Contents?: true
Size: 322 Bytes
Versions: 2
Compression:
Stored size: 322 Bytes
Contents
#!/usr/bin/env ruby require 'mkmf' require 'rbconfig' dir_config("ffi_c") create_makefile("ffi_c") File.open("Makefile", "a") do |mf| mf.puts "include $(srcdir)/ffi.mk" if Config::CONFIG['host_os'] =~ /darwin/ mf.puts "include $(srcdir)/libffi.darwin.mk" else mf.puts "include $(srcdir)/libffi.mk" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ffi-0.1.0 | ext/extconf.rb |
ffi-0.1.1 | ext/extconf.rb |