From 04fbe6a6783ca75b86f0019673f175b56d9f4a87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ozan=20T=C3=BCrky=C4=B1lmaz?= Date: Thu, 10 Feb 2022 09:19:02 +0700 Subject: [PATCH] libraries/liboop: Remove .la files. Signed-off-by: Willy Sudiarto Raharjo --- libraries/liboop/liboop.SlackBuild | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/liboop/liboop.SlackBuild b/libraries/liboop/liboop.SlackBuild index 35434d1028..44830d4023 100644 --- a/libraries/liboop/liboop.SlackBuild +++ b/libraries/liboop/liboop.SlackBuild @@ -87,6 +87,9 @@ make install DESTDIR=$PKG | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null ) +# Don't ship .la files: +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a [A-Z][A-Z]* $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild