network/suricata: Remove .la files.

Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
This commit is contained in:
Andrew Clemons 2022-03-26 12:16:30 +13:00
parent c7545af79f
commit 01d2bbfa1a
No known key found for this signature in database
GPG key ID: CD26380FFACBDA2B

View file

@ -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