diff options
Diffstat (limited to 'slackware64-current/source/n/iptables/iptables.SlackBuild')
-rwxr-xr-x | slackware64-current/source/n/iptables/iptables.SlackBuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/slackware64-current/source/n/iptables/iptables.SlackBuild b/slackware64-current/source/n/iptables/iptables.SlackBuild index 69e7605a2..0ef33c015 100755 --- a/slackware64-current/source/n/iptables/iptables.SlackBuild +++ b/slackware64-current/source/n/iptables/iptables.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=iptables VERSION=${VERSION:-$(echo iptables-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} NUMJOBS=${NUMJOBS:-" -j7 "} @@ -94,6 +94,9 @@ CFLAGS="$SLKCFLAGS" \ make $NUMJOBS || make || exit 1 make install DESTDIR=$PKG || exit 1 +# Don't ship .la files: +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la + find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-debug 2> /dev/null |