From 6d107bb4582c2b57bfce6aefe1b84f527c2f4946 Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Sat, 3 Jul 2021 10:41:43 +0200 Subject: cmake-template.SlackBuild: Don't ship .la files Signed-off-by: Heinz Wiesinger --- cmake-template.SlackBuild | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cmake-template.SlackBuild') diff --git a/cmake-template.SlackBuild b/cmake-template.SlackBuild index 26d51ff..66f52f1 100644 --- a/cmake-template.SlackBuild +++ b/cmake-template.SlackBuild @@ -122,6 +122,9 @@ cd build make install/strip DESTDIR=$PKG cd .. +# Don't ship .la files: +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la + # Strip binaries and libraries - this can be done with 'make install-strip' # in many source trees, and that's usually acceptable, if not, use this: find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ -- cgit v1.2.3