aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-03-26 12:16:30 +1300
committerAndrew Clemons <andrew.clemons@gmail.com>2022-03-26 12:16:30 +1300
commit01d2bbfa1a6ddf6c5119266fa6b603aa6a5690e0 (patch)
treea5515e179df892aeb53f068af90a258d551131f7 /network
parentc7545af79f419a775a3b29359d466d685cb308c0 (diff)
network/suricata: Remove .la files.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Diffstat (limited to 'network')
-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 a6b0f5e0f58c..bf76d884f1d2 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