aboutsummaryrefslogtreecommitdiff
path: root/extra/iptables/build
blob: 33e64b1ac4e174a7fef244e12dc6ec5202e492dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh -e

export LDFLAGS="$LDFLAGS -static"

./configure \
    --prefix=/usr \
    --sbindir=/usr/bin \
    --disable-shared \
    --enable-static \
    --enable-libipq \
    --with-xtlibdir=/usr/lib/xtables \
    --disable-nftables

make LDFLAGS="$LDFLAGS -all-static"
make DESTDIR="$1" install