aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-26 10:57:32 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-26 10:57:32 +0700
commit4851aa9bab3ea5b13300609dcd23b91d0abbb58e (patch)
tree2326562afec110c3d78eb4261a80b7e0f9db95d1
parent709539fd1dc2c0839eaee078a9a1bbff1add5df8 (diff)
libraries/zeromq: Remove .la files.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/zeromq/zeromq.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/libraries/zeromq/zeromq.SlackBuild b/libraries/zeromq/zeromq.SlackBuild
index f1f469b7d374..e2884a890220 100644
--- a/libraries/zeromq/zeromq.SlackBuild
+++ b/libraries/zeromq/zeromq.SlackBuild
@@ -87,6 +87,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