summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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