From 1c891e0d4557e0f301ffb90b9056d1e9af2fcec9 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 2 Jul 2014 11:39:24 +0000 Subject: [PATCH] iptables: pass --disable-ipv6 is CONFIG_IPV6 is unset Signed-off-by: Jo-Philipp Wich SVN-Revision: 41458 --- package/network/utils/iptables/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/network/utils/iptables/Makefile b/package/network/utils/iptables/Makefile index f6db428bcbd..8266f14a3e5 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) \ -- 2.30.2