aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-01-23 17:00:50 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-01-25 14:44:41 +0700
commitf4d7136da49e48be79e8d18b4a93bce89c90dcea (patch)
tree5a1917ae63667cba0c4a258e946cc98f5c6a5dd5 /development
parente1dea58419fb5de7e67941a324baedb0b730c2d2 (diff)
development/libodb: Remove .la files.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-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 baab51784c36..8c3b154313eb 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