mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-29 16:21:29 +00:00
Ports: Link libtiff against xz
This commit is contained in:
parent
a5be8d8976
commit
81f85746f6
Notes:
sideshowbarker
2024-07-18 19:23:17 +09:00
Author: https://github.com/gunnarbeutner Commit: https://github.com/SerenityOS/serenity/commit/81f85746f68 Pull-request: https://github.com/SerenityOS/serenity/pull/6488
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue