[package] iptables: pass --disable-ipv6 if CONFIG_IPV6 is off, fixes undefined refs...
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 18 Jan 2012 19:05:48 +0000 (19:05 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 18 Jan 2012 19:05:48 +0000 (19:05 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29778 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/iptables/Makefile

index 67dedca..b60990c 100644 (file)
@@ -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
This page took 0.02782 seconds and 4 git commands to generate.