Sha256: 78fc85fd1e20c385533b4e05270480be61863cb4aa7afca5fea1d8d5be3f9868
Contents?: true
Size: 490 Bytes
Versions: 2
Compression:
Stored size: 490 Bytes
Contents
if RUBY_PLATFORM == "java" # Don't do anything when run in JRuby; this allows gem installation to pass. # We need to write a dummy Makefile so that RubyGems doesn't think compilation # failed. File.open('Makefile', 'w') do |f| f.puts "all:" f.puts "\t@true" f.puts "install:" f.puts "\t@true" end exit 0 else require "mkmf" dir_config("bcrypt_ext") # enable this when we're feeling nitpicky # CONFIG['CC'] << " -Wall " create_makefile("bcrypt_ext") end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bcrypt-ruby-2.1.1 | ext/mri/extconf.rb |
bcrypt-ruby-2.1.0 | ext/mri/extconf.rb |