jpeg: add --universal as an option

This commit is contained in:
Adam Vandenberg committed 2013-01-31 11:06:58 -08:00
1 parent 1991c49fee
commit 9d8a6ba328
1 file changed
+5 -2
+5 -2
View File
@@ -11,10 +11,13 @@ class Jpeg < Formula
sha1 'edff61d516f97d76341a14211d0206bda18d0cf7' => :snowleopard
end
option :universal
def install
ENV.universal_binary
ENV.universal_binary if build.universal?
# Builds static and shared libraries.
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end