aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-09-10 07:44:29 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-09-10 07:44:29 +0700
commit317efb23a69b1a766f7a8b665879e99b12feb2d6 (patch)
treea91a6fad3e268049a5a22ea5c66a8f541c6ef807 /libraries
parent1600a0383bc36aabb7686fe63b74e843fa2d531b (diff)
libraries/libseccomp: Remove la file.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-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 3ed773060844b..aa3ba90abac47 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