From 01d2bbfa1a6ddf6c5119266fa6b603aa6a5690e0 Mon Sep 17 00:00:00 2001 From: Andrew Clemons Date: Sat, 26 Mar 2022 12:16:30 +1300 Subject: network/suricata: Remove .la files. Signed-off-by: Andrew Clemons --- network/suricata/suricata.SlackBuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'network') 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 -- cgit v1.2.3