summaryrefslogtreecommitdiff
path: root/Ports
diff options
context:
space:
mode:
authorGunnar Beutner <gunnar@beutner.name>2021-04-19 17:29:44 +0200
committerAndreas Kling <kling@serenityos.org>2021-04-19 18:27:09 +0200
commit81f85746f68a351d0d98930ff3393ef03190f0f6 (patch)
tree9a8fa7d07fe73454eee17d18308e7c557f50f54c /Ports
parenta5be8d8976a13d7c2539a52b7d4916b6e5e5c175 (diff)
downloadserenity-81f85746f68a351d0d98930ff3393ef03190f0f6.zip
Ports: Link libtiff against xz
Diffstat (limited to 'Ports')
-rwxr-xr-xPorts/libtiff/package.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/Ports/libtiff/package.sh b/Ports/libtiff/package.sh
index a418913cb7..99473f7a20 100755
--- a/Ports/libtiff/package.sh
+++ b/Ports/libtiff/package.sh
@@ -7,11 +7,11 @@ http://download.osgeo.org/libtiff/tiff-${version}.tar.gz.sig tiff-${version}.tar
auth_type="sig"
auth_import_key="EBDFDB21B020EE8FD151A88DE301047DE1198975"
auth_opts="tiff-${version}.tar.gz.sig tiff-${version}.tar.gz"
-depends=zstd
+depends="zstd xz"
install() {
run make DESTDIR=$DESTDIR $installopts install
- ${CC} -shared -o $DESTDIR/usr/local/lib/libtiff.so -Wl,--whole-archive $DESTDIR/usr/local/lib/libtiff.a -Wl,--no-whole-archive -lzstd
- ${CC} -shared -o $DESTDIR/usr/local/lib/libtiffxx.so -Wl,--whole-archive $DESTDIR/usr/local/lib/libtiffxx.a -Wl,--no-whole-archive -lzstd
+ ${CC} -shared -o $DESTDIR/usr/local/lib/libtiff.so -Wl,--whole-archive $DESTDIR/usr/local/lib/libtiff.a -Wl,--no-whole-archive -lzstd -llzma
+ ${CC} -shared -o $DESTDIR/usr/local/lib/libtiffxx.so -Wl,--whole-archive $DESTDIR/usr/local/lib/libtiffxx.a -Wl,--no-whole-archive -lzstd -llzma
rm -f $DESTDIR/usr/local/lib/libtiff.la $DESTDIR/usr/local/lib/libtiffxx.la
}