aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-02-14 12:18:30 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-16 08:19:42 +0700
commit4d100fa77d1456a14b2d28095d54d830591a9dff (patch)
tree7a476d81e7872a69a07f8be52fda213754d64d18
parent48b9c7a7d67fb5e20050c5f3e43d3a77d1044bc4 (diff)
libraries/libtorrent: Remove .la files.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/libtorrent/libtorrent.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/libraries/libtorrent/libtorrent.SlackBuild b/libraries/libtorrent/libtorrent.SlackBuild
index 8c729f90138db..b4aa1a3a9a673 100644
--- a/libraries/libtorrent/libtorrent.SlackBuild
+++ b/libraries/libtorrent/libtorrent.SlackBuild
@@ -8,7 +8,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libtorrent
VERSION=${VERSION:-0.13.7}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -86,6 +86,8 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM-SlackBuild
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
+rm -f $PKG/usr/lib*/*.la
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc