From: jow Date: Wed, 2 Jul 2014 11:39:24 +0000 (+0000) Subject: iptables: pass --disable-ipv6 is CONFIG_IPV6 is unset X-Git-Url: http://git.ozo.com/?a=commitdiff_plain;h=0001eb51eac09ef8cb201865af9f04e70344d05d;p=openwrt-working-2016%2F.git iptables: pass --disable-ipv6 is CONFIG_IPV6 is unset Signed-off-by: Jo-Philipp Wich git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41458 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/network/utils/iptables/Makefile b/package/network/utils/iptables/Makefile index f6db428bcb..8266f14a3e 100644 --- a/package/network/utils/iptables/Makefile +++ b/package/network/utils/iptables/Makefile @@ -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) \