net-snmp: allow mulitple library installations

To allow multiple libraries on the target this glob is targeting
multiple libraries.

Signed-off-by: Christian Korber <ckorber@tdt.de>
pull/26836/head
Christian Korber 2026-06-29 09:46:06 +02:00 committed by Florian Eckert
parent 5bd5e68a08
commit 6519dddb9d
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=net-snmp
PKG_VERSION:=5.9.5.2
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/net-snmp
@ -315,7 +315,7 @@ Package/snmpd-ssl/conffiles = $(Package/snmpd-nossl/conffiles)
define Package/libnetsnmp-nossl/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libnetsnmp{,agent,helpers,mibs}.so* $(1)/usr/lib/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libnetsnmp{,agent,helpers,mibs}.so.* $(1)/usr/lib/
endef
Package/libnetsnmp-ssl/install = $(Package/libnetsnmp-nossl/install)