IPv6 support should depend on if we've enabled it

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38349
lede-17.01
Imre Kaloz 2013-10-09 11:03:00 +00:00
parent b93e5498ae
commit 430e641a08
1 changed files with 5 additions and 1 deletions

View File

@ -54,7 +54,6 @@ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \
--disable-yydebug \ --disable-yydebug \
--enable-ipv6 \
--with-build-cc="$(HOSTCC)" \ --with-build-cc="$(HOSTCC)" \
--with-pcap=linux \ --with-pcap=linux \
--without-septel \ --without-septel \
@ -62,6 +61,11 @@ CONFIGURE_ARGS += \
--without-libnl \ --without-libnl \
--disable-can --disable-can
ifeq ($(CONFIG_IPV6),y)
CONFIGURE_ARGS += \
--enable-ipv6
endif
MAKE_FLAGS += \ MAKE_FLAGS += \
CCOPT="$(TARGET_CFLAGS) -I$(BUILD_DIR)/linux/include" CCOPT="$(TARGET_CFLAGS) -I$(BUILD_DIR)/linux/include"