From: Jo-Philipp Wich Date: Wed, 18 Jan 2012 19:05:48 +0000 (+0000) Subject: [package] iptables: pass --disable-ipv6 if CONFIG_IPV6 is off, fixes undefined refs... X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;hb=52789e892e47ef2a76a7cbeb6798bae195696bae [package] iptables: pass --disable-ipv6 if CONFIG_IPV6 is off, fixes undefined refs to in6addr_any when compiling with external CodeSourcery toolchain SVN-Revision: 29778 --- 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