iptables: pass --disable-ipv6 if CONFIG_IPV6 is off, fixes undefined refs to in6addr_any when compiling with external CodeSourcery toolchain

SVN-Revision: 29778
lede-17.01
Jo-Philipp Wich 2012-01-18 19:05:48 +00:00
parent 899de4adc9
commit f7a7e289a5
1 changed files with 1 additions and 1 deletions

View File

@ -388,7 +388,7 @@ TARGET_CFLAGS += \
CONFIGURE_ARGS += \ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \
--enable-devel \ --enable-devel \
--enable-ipv6 \ $(if $(CONFIG_IPV6),--enable-ipv6,--disable-ipv6) \
--enable-libipq \ --enable-libipq \
--with-kernel="$(LINUX_DIR)" \ --with-kernel="$(LINUX_DIR)" \
--with-xtlibdir=/usr/lib/iptables --with-xtlibdir=/usr/lib/iptables