diff options
-rw-r--r-- | gis/laszip/laszip.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gis/laszip/laszip.SlackBuild b/gis/laszip/laszip.SlackBuild index 514a81cbb7731..738a2bd47724d 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 |