summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Andrew Clemons2022-03-26 00:16:30 +0100
committer Andrew Clemons2022-03-26 00:16:30 +0100
commit01d2bbfa1a6ddf6c5119266fa6b603aa6a5690e0 (patch)
treea5515e179df892aeb53f068af90a258d551131f7
parentc7545af79f419a775a3b29359d466d685cb308c0 (diff)
downloadslackbuilds-01d2bbfa1a6ddf6c5119266fa6b603aa6a5690e0.tar.gz
network/suricata: Remove .la files.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
-rw-r--r--network/suricata/suricata.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/network/suricata/suricata.SlackBuild b/network/suricata/suricata.SlackBuild
index a6b0f5e0f5..bf76d884f1 100644
--- a/network/suricata/suricata.SlackBuild
+++ b/network/suricata/suricata.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=suricata
VERSION=${VERSION:-6.0.4}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -99,6 +99,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true