imlib2: disable loaders to prevent opportunistic linkage

Closes #120098.

Signed-off-by: Patrick Linnane <patrick@linnane.io>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
master
Michael Cho 2023-01-08 16:56:09 -08:00 committed by BrewTestBot
parent d79e1abc2c
commit 6444d94f23
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
1 changed files with 14 additions and 1 deletions

View File

@ -24,9 +24,22 @@ class Imlib2 < Formula
depends_on "libx11"
depends_on "libxcb"
depends_on "libxext"
depends_on "xz"
uses_from_macos "bzip2"
uses_from_macos "zlib"
def install
system "./configure", *std_configure_args, "--enable-amd64=no", "--without-id3"
system "./configure", *std_configure_args,
"--disable-silent-rules",
"--enable-amd64=no",
"--without-heif",
"--without-id3",
"--without-j2k",
"--without-jxl",
"--without-ps",
"--without-svg",
"--without-webp"
system "make", "install"
end