diff options
author | Erich Ritz <erich.public@protonmail.com> | 2022-03-05 20:35:15 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-03-06 11:43:34 +0700 |
commit | 06d5105de5e72ed7f011b02287ef2088b2212497 (patch) | |
tree | 2a68d4c0911cdbb3a40ca6bba734b7409e0884f6 /gis | |
parent | 8c3cc1de07b52f7fe83fb3098584eeae781a1937 (diff) | |
download | slackbuilds-06d5105de5e72ed7f011b02287ef2088b2212497.tar.gz |
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>
Diffstat (limited to 'gis')
-rw-r--r-- | gis/libgeotiff/libgeotiff.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gis/libgeotiff/libgeotiff.SlackBuild b/gis/libgeotiff/libgeotiff.SlackBuild index b9b685cba2..d379c2b463 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 |