Skip to content

Commit

Permalink
add freebsd to the rubygem
Browse files Browse the repository at this point in the history
  • Loading branch information
hone committed Dec 3, 2015
1 parent 0b4842f commit 54e52bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion mjruby.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 54e52bd

Please sign in to comment.