From 00e1aa6a8f6df302c5e238528f86ae12d60a28f0 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Fri, 20 Apr 2018 09:37:42 +0700 Subject: [PATCH] libunique3: remove la files. Signed-off-by: Willy Sudiarto Raharjo --- deps/libunique3/libunique3.SlackBuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/deps/libunique3/libunique3.SlackBuild b/deps/libunique3/libunique3.SlackBuild index 3e103f7..0e24fff 100644 --- a/deps/libunique3/libunique3.SlackBuild +++ b/deps/libunique3/libunique3.SlackBuild @@ -29,7 +29,7 @@ PRGNAM=libunique3 SRCNAM=libunique VERSION=${VERSION:-3.0.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_msb} if [ -z "$ARCH" ]; then @@ -93,6 +93,9 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG +# Don't ship .la files: +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la + find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true