aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"