libgcrypt: make universal optional
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
aaf01e2767
commit
e89df333f3
1 changed files with 3 additions and 1 deletions
|
@ -7,6 +7,8 @@ class Libgcrypt < Formula
|
|||
|
||||
depends_on 'libgpg-error'
|
||||
|
||||
option :universal
|
||||
|
||||
def patches
|
||||
if ENV.compiler == :clang
|
||||
{:p0 =>
|
||||
|
@ -21,7 +23,7 @@ class Libgcrypt < Formula
|
|||
end
|
||||
|
||||
def install
|
||||
ENV.universal_binary
|
||||
ENV.universal_binary if build.universal?
|
||||
|
||||
system "./configure", "--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}",
|
||||
|
|
Loading…
Reference in a new issue