iptables: pass --disable-ipv6 is CONFIG_IPV6 is unset

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 41458
master
Jo-Philipp Wich 10 years ago
parent 12d1710184
commit 1c891e0d45
  1. 3
      package/network/utils/iptables/Makefile

@ -369,7 +369,8 @@ CONFIGURE_ARGS += \
--enable-devel \
--with-kernel="$(LINUX_DIR)/user_headers" \
--with-xtlibdir=/usr/lib/iptables \
--enable-static
--enable-static \
$(if $(CONFIG_IPV6),,--disable-ipv6)
MAKE_FLAGS := \
$(TARGET_CONFIGURE_OPTS) \

Loading…
Cancel
Save