Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
"ruby" formula: add "--universal" flag for arch=x86_64,i386
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information
mislav authored and adamv committed Feb 6, 2011
1 parent 0cceae6 commit f282737
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Library/Formula/ruby.rb
Expand Up @@ -13,6 +13,7 @@ def options
[
["--with-suffix", "Add a 19 suffix to commands"],
["--with-doc", "Install with the Ruby documentation"],
["--universal", "Compile a universal binary (arch=x86_64,i386)"],
]
end

Expand Down Expand Up @@ -48,6 +49,7 @@ def install
"--enable-shared"]

args << "--program-suffix=19" if ARGV.include? "--with-suffix"
args << "--with-arch=x86_64,i386" if ARGV.include? "--universal"

# Put gem, site and vendor folders in the HOMEBREW_PREFIX

Expand Down

0 comments on commit f282737

Please sign in to comment.