From 4d100fa77d1456a14b2d28095d54d830591a9dff Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 14 Feb 2022 12:18:30 -0500 Subject: libraries/libtorrent: Remove .la files. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- libraries/libtorrent/libtorrent.SlackBuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libraries/libtorrent') diff --git a/libraries/libtorrent/libtorrent.SlackBuild b/libraries/libtorrent/libtorrent.SlackBuild index 8c729f9013..b4aa1a3a9a 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 -- cgit v1.2.3