summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--development/libodb/libodb.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/development/libodb/libodb.SlackBuild b/development/libodb/libodb.SlackBuild
index baab51784c..8c3b154313 100644
--- a/development/libodb/libodb.SlackBuild
+++ b/development/libodb/libodb.SlackBuild
@@ -94,6 +94,8 @@ CXXFLAGS="$SLKCFLAGS -std=c++14" \
make
make install DESTDIR=$PKG
+rm -f $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