gis/libgeotiff: Don't ship *.la files.

Signed-off-by: Erich Ritz <erich.public@protonmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Erich Ritz 2022-03-05 20:35:15 -06:00 committed by Willy Sudiarto Raharjo
parent 8c3cc1de07
commit 06d5105de5
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -104,6 +104,9 @@ LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
make
make install DESTDIR=$PKG
# Don't ship .la files:
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true