gdk-pixbuf: expose additional configure flags (#5981)
--without-modules (mapped to --disable-modules) --with-included-loaders=
This commit is contained in:
parent
441bf3b1c3
commit
0e7bc8a8aa
1 changed files with 6 additions and 0 deletions
|
@ -13,6 +13,8 @@ class GdkPixbuf < Formula
|
|||
|
||||
option :universal
|
||||
option "with-relocations", "Build with relocation support for bundles"
|
||||
option "without-modules", "Disable dynamic module loading"
|
||||
option "with-included-loaders=", "Build the specified loaders into gdk-pixbuf"
|
||||
|
||||
depends_on "pkg-config" => :build
|
||||
depends_on "glib"
|
||||
|
@ -52,6 +54,10 @@ class GdkPixbuf < Formula
|
|||
]
|
||||
|
||||
args << "--enable-relocations" if build.with?("relocations")
|
||||
args << "--disable-modules" if build.without?("modules")
|
||||
|
||||
included_loaders = ARGV.value("with-included-loaders")
|
||||
args << "--with-included-loaders=#{included_loaders}" if included_loaders
|
||||
|
||||
system "./configure", *args
|
||||
system "make"
|
||||
|
|
Loading…
Reference in a new issue