[package] iptables: pass --disable-ipv6 if CONFIG_IPV6 is off, fixes undefined refs to in6addr_any when compiling with external CodeSourcery toolchain
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29778 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
77ef1563a0
commit
4902e6be60
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue