protobuf: enable universal builds

master
Adam Vandenberg 2011-04-21 09:34:47 -07:00
parent d61c92a4c9
commit 0a41084189
1 changed files with 5 additions and 0 deletions

View File

@ -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"