X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=package%2Fiptables%2FMakefile;fp=package%2Fiptables%2FMakefile;h=b60990cabfcf1a9faa17941e2690398688298080;hb=25e2b28f3cf0738d5fa5f23b88edbcfc7faf3b3e;hp=67dedca38ffa5994a4da5eb2ad39dcc707d32dc1;hpb=db7f026006337e4d3edf557f8cc3c345b9293a7d;p=openwrt.git 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