diff options
Diffstat (limited to 'extra/iptables/build')
-rwxr-xr-x | extra/iptables/build | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/extra/iptables/build b/extra/iptables/build index 33e64b1a..84186e0f 100755 --- a/extra/iptables/build +++ b/extra/iptables/build @@ -11,5 +11,8 @@ export LDFLAGS="$LDFLAGS -static" --with-xtlibdir=/usr/lib/xtables \ --disable-nftables +clsed '/^#include <netinet\/ether.h>/d' libxtables/xtables.c +clsed 's/u_int16_t/uint16_t/g' iptables/xshared.h + make LDFLAGS="$LDFLAGS -all-static" make DESTDIR="$1" install |