summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-01-18 19:05:48 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-01-18 19:05:48 +0000
commitf7a7e289a5293ac6d71d4a4f4603e32bc2c7291c (patch)
tree122ff77ceac8858442434b1ae989fb02a50166ce /package
parent899de4adc9f2e5be15da5a85a9bbfb8018abd40d (diff)
downloadmtk-20170518-f7a7e289a5293ac6d71d4a4f4603e32bc2c7291c.zip
mtk-20170518-f7a7e289a5293ac6d71d4a4f4603e32bc2c7291c.tar.gz
mtk-20170518-f7a7e289a5293ac6d71d4a4f4603e32bc2c7291c.tar.bz2
iptables: pass --disable-ipv6 if CONFIG_IPV6 is off, fixes undefined refs to in6addr_any when compiling with external CodeSourcery toolchain
SVN-Revision: 29778
Diffstat (limited to 'package')
-rw-r--r--package/iptables/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/iptables/Makefile b/package/iptables/Makefile
index 67dedca..b60990c 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