Sha256: 6c756b307abd7fd8b36ab2bcbbe70df8203fa75003680aaef54c08452a8f5e59
Contents?: true
Size: 517 Bytes
Versions: 9
Compression:
Stored size: 517 Bytes
Contents
require 'mkmf' # Disable the native extension by creating an empty Makefile on JRuby if defined? JRUBY_VERSION message "Generating phony Makefile for JRuby so the gem installs" mfile = File.join(File.dirname(__FILE__), 'Makefile') File.open(mfile, 'w') {|f| f.write dummy_makefile(File.dirname(__FILE__)) } exit 0 end if enable_config("sort-props", false) $defs.push("-DSORT_PROPS") unless $defs.include? "-DSORT_PROPS" end have_func('rb_str_encode') $CFLAGS += " -Wall" create_makefile('rocketamf_ext')
Version data entries
9 entries across 9 versions & 4 rubygems