git ssb

0+

dangerousbeans / %aPBe2k3ugtjBr4rrsU1…



Tree: 7e4f6e0afadfe4fcafb532df1846f9f05c340463

Files: 7e4f6e0afadfe4fcafb532df1846f9f05c340463 / ext / mri / 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