diff options
| author | Adam Vandenberg | 2011-04-21 09:34:47 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-04-21 09:34:47 -0700 |
| commit | 33f3d25414be52fcf829b54255aa22a32099139b (patch) | |
| tree | 4d8ebc83be5babd466db48d54ee845a735058530 /Library/Formula/protobuf.rb | |
| parent | f821d086b67d06e076a5ffdc8982ffbc689db370 (diff) | |
| download | homebrew-33f3d25414be52fcf829b54255aa22a32099139b.tar.bz2 | |
protobuf: enable universal builds
Diffstat (limited to 'Library/Formula/protobuf.rb')
| -rw-r--r-- | Library/Formula/protobuf.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/protobuf.rb b/Library/Formula/protobuf.rb index 681f022cd..38273aeb1 100644 --- a/Library/Formula/protobuf.rb +++ b/Library/Formula/protobuf.rb @@ -7,7 +7,12 @@ class Protobuf < Formula fails_with_llvm + def options + [['--universal', 'Do a universal build']] + end + def install + ENV.universal_binary if ARGV.include? "--universal" system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}", "--with-zlib" |
