aboutsummaryrefslogtreecommitdiff
path: root/gis/laszip
diff options
context:
space:
mode:
authorErich Ritz <erich.public@protonmail.com>2022-03-05 20:40:31 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-06 11:43:34 +0700
commit3f4e07dc66c60588fd42278649419b3f0b8e4898 (patch)
tree30ecacac4908279d2a8de9e449696b2af8d733ca /gis/laszip
parent06d5105de5e72ed7f011b02287ef2088b2212497 (diff)
gis/laszip: Don't ship *.la files.
Signed-off-by: Erich Ritz <erich.public@protonmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis/laszip')
-rw-r--r--gis/laszip/laszip.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/gis/laszip/laszip.SlackBuild b/gis/laszip/laszip.SlackBuild
index 514a81cbb773..738a2bd47724 100644
--- a/gis/laszip/laszip.SlackBuild
+++ b/gis/laszip/laszip.SlackBuild
@@ -91,6 +91,9 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true