From f4bd739bd5a1553125291963cae1930bd3e3cbc2 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Mon, 19 Apr 2021 16:21:02 +0200 Subject: [PATCH] Ports: Link libtiff against zstd --- Ports/libtiff/package.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Ports/libtiff/package.sh b/Ports/libtiff/package.sh index 8121611cb8..a418913cb7 100755 --- a/Ports/libtiff/package.sh +++ b/Ports/libtiff/package.sh @@ -7,10 +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 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 - ${CC} -shared -o $DESTDIR/usr/local/lib/libtiffxx.so -Wl,--whole-archive $DESTDIR/usr/local/lib/libtiffxx.a -Wl,--no-whole-archive + ${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 rm -f $DESTDIR/usr/local/lib/libtiff.la $DESTDIR/usr/local/lib/libtiffxx.la }