From 0712fe73b026d73202536f97273d0aeefc7fd38f Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Tue, 1 Mar 2022 01:11:49 +0100 Subject: iptables: fix package --- extra/iptables/build | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'extra/iptables/build') diff --git a/extra/iptables/build b/extra/iptables/build index 68ed828e..33e64b1a 100755 --- a/extra/iptables/build +++ b/extra/iptables/build @@ -1,11 +1,15 @@ #!/bin/sh -e +export LDFLAGS="$LDFLAGS -static" + ./configure \ --prefix=/usr \ - --sbindir=/usr/sbin \ + --sbindir=/usr/bin \ + --disable-shared \ + --enable-static \ --enable-libipq \ - --with-xtlibdir=/lib/xtables \ + --with-xtlibdir=/usr/lib/xtables \ --disable-nftables -make +make LDFLAGS="$LDFLAGS -all-static" make DESTDIR="$1" install -- cgit v1.2.3