fltk: add universal option, build with --enable-shared

Closes #19771.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Steven Yi authored and Jack Nagel committed 2013-05-19 13:03:33 -05:00
1 parent c21ad4d984
commit 3280d14dfd
1 file changed
+6 -1
+6 -1
View File
@@ -5,6 +5,8 @@ class Fltk < Formula
url 'http://fossies.org/linux/misc/fltk-1.3.2-source.tar.gz'
sha1 '25071d6bb81cc136a449825bfd574094b48f07fb'
option :universal
depends_on :libpng
depends_on 'jpeg'
@@ -14,7 +16,10 @@ class Fltk < Formula
end
def install
system "./configure", "--prefix=#{prefix}", "--enable-threads"
ENV.universal_binary if build.universal?
system "./configure", "--prefix=#{prefix}",
"--enable-threads",
"--enable-shared"
system "make install"
end
end