aboutsummaryrefslogtreecommitdiff
path: root/autotools-template.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'autotools-template.SlackBuild')
-rw-r--r--autotools-template.SlackBuild3
1 files changed, 3 insertions, 0 deletions
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: