Sha256: a06f8bf746799b55016f03d5b6606f4e5aa00be42d11887f3686dd8bafa04de3
Contents?: true
Size: 536 Bytes
Versions: 3
Compression:
Stored size: 536 Bytes
Contents
def fake_makefile File.open(File.join(File.dirname(__FILE__), "Makefile"), "w") do |f| f.puts %[install:\n\techo "Nada."] end end def mri_1_9? defined?(RUBY_ENGINE) && RUBY_ENGINE == "ruby" && RUBY_VERSION =~ /^1\.9/ end if mri_1_9? require 'mkmf' $CFLAGS += " -O0" $CFLAGS += " -std=c99" case RUBY_VERSION when /1.9.2/ $CFLAGS += " -I./ruby_headers/192/ -DRUBY_192" when /1.9.3/ $CFLAGS += " -I./ruby_headers/193/ -DRUBY_193" end create_makefile('binding_of_caller') else fake_makefile end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
binding_of_caller-0.8.0 | ext/binding_of_caller/extconf.rb |
binding_of_caller-0.7.3 | ext/binding_of_caller/extconf.rb |
binding_of_caller-0.7.3.pre1 | ext/binding_of_caller/extconf.rb |