mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-28 20:09:41 -05:00
fltk: add universal option, build with --enable-shared
Closes #19771. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
1 parent
c21ad4d984
commit
3280d14dfd
1 file changed
+6
-1
@@ -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
|
||||
Reference in new issue
Block a user