git ssb

0+

dangerousbeans / %aPBe2k3ugtjBr4rrsU1…



Tree: ba77ac1e2d88b72126fa0495b28fecd821ca118c

Files: ba77ac1e2d88b72126fa0495b28fecd821ca118c / ext / mri / extconf.rb

444 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 CONFIG['CC'] << " -Wall "
16 create_makefile("bcrypt_ext")
17end

Built with git-ssb-web