aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/protobuf.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2011-04-21 09:34:47 -0700
committerAdam Vandenberg2011-04-21 09:34:47 -0700
commit33f3d25414be52fcf829b54255aa22a32099139b (patch)
tree4d8ebc83be5babd466db48d54ee845a735058530 /Library/Formula/protobuf.rb
parentf821d086b67d06e076a5ffdc8982ffbc689db370 (diff)
downloadhomebrew-33f3d25414be52fcf829b54255aa22a32099139b.tar.bz2
protobuf: enable universal builds
Diffstat (limited to 'Library/Formula/protobuf.rb')
-rw-r--r--Library/Formula/protobuf.rb5
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"