summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo2021-09-10 02:44:29 +0200
committer Willy Sudiarto Raharjo2021-09-10 02:44:29 +0200
commit317efb23a69b1a766f7a8b665879e99b12feb2d6 (patch)
treea91a6fad3e268049a5a22ea5c66a8f541c6ef807
parent1600a0383bc36aabb7686fe63b74e843fa2d531b (diff)
downloadslackbuilds-317efb23a69b1a766f7a8b665879e99b12feb2d6.tar.gz
libraries/libseccomp: Remove la file.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/libseccomp/libseccomp.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/libraries/libseccomp/libseccomp.SlackBuild b/libraries/libseccomp/libseccomp.SlackBuild
index 3ed7730608..aa3ba90aba 100644
--- a/libraries/libseccomp/libseccomp.SlackBuild
+++ b/libraries/libseccomp/libseccomp.SlackBuild
@@ -95,6 +95,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
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