iptables: don't use --enable-ipv6 if IPv6 is disabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36125 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
d1e958aade
commit
a800a4a788
|
@ -10,7 +10,7 @@ include $(INCLUDE_DIR)/kernel.mk
|
||||||
|
|
||||||
PKG_NAME:=iptables
|
PKG_NAME:=iptables
|
||||||
PKG_VERSION:=1.4.18
|
PKG_VERSION:=1.4.18
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||||
PKG_SOURCE_URL:=http://www.netfilter.org/projects/iptables/files \
|
PKG_SOURCE_URL:=http://www.netfilter.org/projects/iptables/files \
|
||||||
|
@ -347,7 +347,6 @@ TARGET_CFLAGS += \
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--enable-devel \
|
--enable-devel \
|
||||||
$(if $(CONFIG_IPV6),--enable-ipv6,--disable-ipv6) \
|
|
||||||
--with-kernel="$(LINUX_DIR)/user_headers" \
|
--with-kernel="$(LINUX_DIR)/user_headers" \
|
||||||
--with-xtlibdir=/usr/lib/iptables \
|
--with-xtlibdir=/usr/lib/iptables \
|
||||||
--enable-static
|
--enable-static
|
||||||
|
|
Loading…
Reference in New Issue