log4cxx: add --universal option

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
William Woodall 2011-09-04 23:39:36 -05:00 committed by Jack Nagel
parent cd5a4c10d6
commit 08e6a89ca9

View file

@ -7,7 +7,15 @@ class Log4cxx < Formula
fails_with_llvm "Fails with \"collect2: ld terminated with signal 11 [Segmentation fault]\"."
def options
[
["--universal", "Build for both 32 & 64 bit Intel."]
]
end
def install
ENV.universal_binary if ARGV.build_universal?
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
# Docs won't install on OS X