[packages] net-snmp: Enable ipv6 support if defined globally
git-svn-id: svn://svn.openwrt.org/openwrt/packages@17207 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
a88609337c
commit
ca456ede41
@ -143,10 +143,6 @@ SNMP_MIB_MODULES_EXCLUDED = \
|
||||
|
||||
SNMP_TRANSPORTS_INCLUDED = Callback UDP
|
||||
|
||||
ifeq ($(CONFIG_IPV6),y)
|
||||
SNMP_TRANSPORTS_INCLUDED+= UDPIPv6
|
||||
endif
|
||||
|
||||
SNMP_TRANSPORTS_EXCLUDED = TCP TCPIPv6 Unix
|
||||
|
||||
TARGET_CFLAGS += $(FPIC)
|
||||
@ -174,6 +170,11 @@ CONFIGURE_ARGS += \
|
||||
--without-rpm \
|
||||
--without-zlib \
|
||||
|
||||
ifeq ($(CONFIG_IPV6),y)
|
||||
SNMP_TRANSPORTS_INCLUDED+= UDPIPv6
|
||||
CONFIGURE_ARGS+= --enable-ipv6
|
||||
endif
|
||||
|
||||
define Build/Compile
|
||||
rm -rf $(PKG_INSTALL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
|
Loading…
x
Reference in New Issue
Block a user