[package] tcpdump: honor the CONFIG_IPV6 global flag
Currently it's always compiled with ipv6 support. Signed-off-by: Jonh Wendell <jonh.wendell@oiwifi.com.br> git-svn-id: svn://svn.openwrt.org/openwrt/packages@33470 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
66749cd2e6
commit
223ef02a46
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=tcpdump
|
||||
PKG_VERSION:=4.2.1
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://www.tcpdump.org/release/ \
|
||||
@ -44,8 +44,12 @@ define Package/tcpdump-mini
|
||||
endef
|
||||
|
||||
CONFIGURE_ARGS += \
|
||||
--without-crypto \
|
||||
--without-crypto
|
||||
|
||||
ifeq ($(CONFIG_IPV6),y)
|
||||
CONFIGURE_ARGS += \
|
||||
--enable-ipv6
|
||||
endif
|
||||
|
||||
CONFIGURE_VARS += \
|
||||
BUILD_CC="$(TARGET_CC)" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user