aboutsummaryrefslogtreecommitdiff
path: root/autotools-template.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2021-07-03 10:41:04 +0200
committerHeinz Wiesinger <pprkut@slackbuilds.org>2021-07-03 12:16:56 +0200
commita9c2c432f5db4b6f616564fcc223d4a74e3af06e (patch)
tree8e3516364e01c38a97ea4443dec5a52639e0a65f /autotools-template.SlackBuild
parentae9928fc788ce46e4e9664f2e037e8cc2eb996a0 (diff)
autotools-template.SlackBuild: Don't ship .la files
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
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: