aboutsummaryrefslogtreecommitdiffstats
path: root/package/iptables/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/iptables/Makefile')
-rw-r--r--package/iptables/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/iptables/Makefile b/package/iptables/Makefile
index 67dedca38f..b60990cabf 100644
--- a/package/iptables/Makefile
+++ b/package/iptables/Makefile
@@ -388,7 +388,7 @@ TARGET_CFLAGS += \
CONFIGURE_ARGS += \
--enable-shared \
--enable-devel \
- --enable-ipv6 \
+ $(if $(CONFIG_IPV6),--enable-ipv6,--disable-ipv6) \
--enable-libipq \
--with-kernel="$(LINUX_DIR)" \
--with-xtlibdir=/usr/lib/iptables