protobuf-c: add support universal support
Added the common --universal switch to allow compilation of the protobuf-c libraries as a universal dylib Closes Homebrew/homebrew#35406. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
98f4563487
commit
6232558f6e
1 changed files with 4 additions and 0 deletions
|
@ -11,10 +11,14 @@ class ProtobufC < Formula
|
|||
sha1 "b3990ecc09a996fef5a976f59a16ffb7e8d87ecb" => :lion
|
||||
end
|
||||
|
||||
option :universal
|
||||
|
||||
depends_on "pkg-config" => :build
|
||||
depends_on "protobuf"
|
||||
|
||||
def install
|
||||
ENV.universal_binary if build.universal?
|
||||
|
||||
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
||||
system "make install"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue