iptables: pass --disable-ipv6 is CONFIG_IPV6 is unset

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 41458
owl
Jo-Philipp Wich 2014-07-02 11:39:24 +00:00
parent 12d1710184
commit 1c891e0d45
1 changed files with 2 additions and 1 deletions

View File

@ -369,7 +369,8 @@ CONFIGURE_ARGS += \
--enable-devel \
--with-kernel="$(LINUX_DIR)/user_headers" \
--with-xtlibdir=/usr/lib/iptables \
--enable-static
--enable-static \
$(if $(CONFIG_IPV6),,--disable-ipv6)
MAKE_FLAGS := \
$(TARGET_CONFIGURE_OPTS) \