aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-09-10 08:03:57 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-09-10 08:03:57 +0700
commit6ea0f26194f46bc9996a2a042e3ed6e3239a9edc (patch)
treedb9043edce4bb1bfbba4799d8f6d80d962de615d
parentf9277ec661d7cab87d53423f4b0982fb9e8b1a0e (diff)
development/guile1.8: Remove la files.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/guile1.8/guile1.8.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/development/guile1.8/guile1.8.SlackBuild b/development/guile1.8/guile1.8.SlackBuild
index 281793fb45de..8d569b9f39ea 100644
--- a/development/guile1.8/guile1.8.SlackBuild
+++ b/development/guile1.8/guile1.8.SlackBuild
@@ -93,6 +93,8 @@ CFLAGS="$SLKCFLAGS" \
make -j1 LDFLAGS+="-lpthread"
make install DESTDIR=$PKG
+rm -rf $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