libtool: use options DSL
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
8eb24aa4ca
commit
a9ab7f11cd
1 changed files with 2 additions and 4 deletions
|
@ -13,12 +13,10 @@ class Libtool < Formula
|
|||
keg_only "Xcode (up to and including 4.2) provides (a rather old) Libtool."
|
||||
end
|
||||
|
||||
def options
|
||||
[["--universal", "Builds a universal binary"]]
|
||||
end
|
||||
option :universal
|
||||
|
||||
def install
|
||||
ENV.universal_binary if ARGV.build_universal?
|
||||
ENV.universal_binary if build.universal?
|
||||
system "./configure", "--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}",
|
||||
"--program-prefix=g",
|
||||
|
|
Loading…
Reference in a new issue