iptables: pass --disable-ipv6 is CONFIG_IPV6 is unset
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 41458
This commit is contained in:
parent
12d1710184
commit
1c891e0d45
1 changed files with 2 additions and 1 deletions
|
@ -369,7 +369,8 @@ CONFIGURE_ARGS += \
|
||||||
--enable-devel \
|
--enable-devel \
|
||||||
--with-kernel="$(LINUX_DIR)/user_headers" \
|
--with-kernel="$(LINUX_DIR)/user_headers" \
|
||||||
--with-xtlibdir=/usr/lib/iptables \
|
--with-xtlibdir=/usr/lib/iptables \
|
||||||
--enable-static
|
--enable-static \
|
||||||
|
$(if $(CONFIG_IPV6),,--disable-ipv6)
|
||||||
|
|
||||||
MAKE_FLAGS := \
|
MAKE_FLAGS := \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
|
|
Loading…
Reference in a new issue