diff --git a/extconf.rb b/extconf.rb index 2390694..e5b908a 100644 --- a/extconf.rb +++ b/extconf.rb @@ -20,6 +20,8 @@ when /^i\d86-Mac OS X/ then "mruby/build/x86_64-apple-darwin14/bin/mjruby" when /^x86-Windows/ then "mruby/build/i686-w64-mingw32/bin/mjruby" when /^(amd64|x86_64)-Windows/ then "mruby/build/x86_64-w64-mingw32/bin/mjruby" + when /^x86-FreeBSD/ then "mruby/build/i686-pc-freebsd7/bin/mjruby" + when /^(amd64|x86_64)-FreeBSD/ then "mruby/build/x86_64-pc-freebsd7/bin/mjruby" else nil raise "Could not find appropriate architecture for '#{arch}'" end diff --git a/mjruby.gemspec b/mjruby.gemspec index de1f258..6296054 100644 --- a/mjruby.gemspec +++ b/mjruby.gemspec @@ -16,7 +16,9 @@ Gem::Specification.new do |spec| spec.files = (["i386-apple-darwin14", "x86_64-apple-darwin14", "i686-pc-linux-gnu", - "x86_64-pc-linux-gnu" + "x86_64-pc-linux-gnu", + "i686-pc-freebsd7", + "x86_64-pc-freebsd7", ].map {|p| "#{p}/bin/mjruby"} + ["i686-w64-mingw32", "x86_64-w64-mingw32"