summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/augeas/augeas.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/augeas/augeas.SlackBuild b/system/augeas/augeas.SlackBuild
index 452ddfcaa0..b90c7501cc 100644
--- a/system/augeas/augeas.SlackBuild
+++ b/system/augeas/augeas.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