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

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41458 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2014-07-02 11:39:24 +00:00
parent d8c7520568
commit 0001eb51ea

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) \