aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Ritz <erich.public@protonmail.com>2022-03-05 20:35:15 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-06 11:43:34 +0700
commit06d5105de5e72ed7f011b02287ef2088b2212497 (patch)
tree2a68d4c0911cdbb3a40ca6bba734b7409e0884f6
parent8c3cc1de07b52f7fe83fb3098584eeae781a1937 (diff)
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>
-rw-r--r--gis/libgeotiff/libgeotiff.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/gis/libgeotiff/libgeotiff.SlackBuild b/gis/libgeotiff/libgeotiff.SlackBuild
index b9b685cba2ec..d379c2b4632f 100644
--- a/gis/libgeotiff/libgeotiff.SlackBuild
+++ b/gis/libgeotiff/libgeotiff.SlackBuild
@@ -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