git ssb

0+

dangerousbeans / %aPBe2k3ugtjBr4rrsU1…



Tree: b4024d4b1505f3c87b4c0b1ed59b8850aeea719f

Files: b4024d4b1505f3c87b4c0b1ed59b8850aeea719f / ext / extconf.rb

490 bytesRaw
1if RUBY_PLATFORM == "java"
2 # Don't do anything when run in JRuby; this allows gem installation to pass.
3 # We need to write a dummy Makefile so that RubyGems doesn't think compilation
4 # failed.
5 File.open('Makefile', 'w') do |f|
6 f.puts "all:"
7 f.puts "\t@true"
8 f.puts "install:"
9 f.puts "\t@true"
10 end
11 exit 0
12else
13 require "mkmf"
14 dir_config("bcrypt_ext")
15 # enable this when we're feeling nitpicky
16 # CONFIG['CC'] << " -Wall "
17 create_makefile("bcrypt_ext")
18end

Built with git-ssb-web