From a9c2c432f5db4b6f616564fcc223d4a74e3af06e Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Sat, 3 Jul 2021 10:41:04 +0200 Subject: autotools-template.SlackBuild: Don't ship .la files Signed-off-by: Heinz Wiesinger --- autotools-template.SlackBuild | 3 +++ 1 file changed, 3 insertions(+) diff --git a/autotools-template.SlackBuild b/autotools-template.SlackBuild index 52c3e13..59ec634 100644 --- a/autotools-template.SlackBuild +++ b/autotools-template.SlackBuild @@ -130,6 +130,9 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG +# 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 so, but if not, # use this: -- cgit v1.2.3