diff options
author | Gunnar Beutner <gunnar@beutner.name> | 2021-04-17 21:43:55 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-04-18 16:35:00 +0200 |
commit | f7c9cd06aced12353df678196889cd35aa7ceb5f (patch) | |
tree | 9da131125de3acacd9f95619790c1a93a713f18c /Ports | |
parent | 97ecdd5215d5b9a908278c2d07c4831cd8d0bff1 (diff) | |
download | serenity-f7c9cd06aced12353df678196889cd35aa7ceb5f.zip |
Ports: Build shared library for libtiff
Diffstat (limited to 'Ports')
-rwxr-xr-x | Ports/libtiff/package.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Ports/libtiff/package.sh b/Ports/libtiff/package.sh index 258cb25f10..8121611cb8 100755 --- a/Ports/libtiff/package.sh +++ b/Ports/libtiff/package.sh @@ -7,3 +7,10 @@ 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" + +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 + rm -f $DESTDIR/usr/local/lib/libtiff.la $DESTDIR/usr/local/lib/libtiffxx.la +} |