From bbc452879cc2edc1beaa68a83c241854d6fd8c46 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sat, 5 Feb 2022 17:33:39 +0700 Subject: [PATCH] libtimezonemap: Remove .la files. Signed-off-by: Willy Sudiarto Raharjo --- libtimezonemap/libtimezonemap.SlackBuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libtimezonemap/libtimezonemap.SlackBuild b/libtimezonemap/libtimezonemap.SlackBuild index 1bfb994..a844be6 100644 --- a/libtimezonemap/libtimezonemap.SlackBuild +++ b/libtimezonemap/libtimezonemap.SlackBuild @@ -90,6 +90,8 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG +rm -rf $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