zabbix: zabbix-agentd: depend on libevent2-pthreads
authorYanase Yuki <dev@zpc.st>
Thu, 7 Mar 2024 08:15:22 +0000 (17:15 +0900)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Tue, 29 Oct 2024 10:32:36 +0000 (11:32 +0100)
zabbix-agentd requires libevent2-pthreads to build
correctly, so add it to DEPENDS.

Signed-off-by: Yanase Yuki <dev@zpc.st>
(cherry picked from commit e61c3ea01cba8e29f6fef232b049c224255501ad)

admin/zabbix/Makefile

index c4f8c464ac6ab99e3d8ace490c12fd24e7eb9d74..f89d4cb8731d176f4298c3fdd528daf1ad5dcc8f 100644 (file)
@@ -63,6 +63,7 @@ endef
 define Package/zabbix-agentd
   $(call Package/zabbix/Default)
   TITLE+= agentd
+  DEPENDS+= +libevent2-pthreads
   PROVIDES:=zabbix-agentd
   VARIANT:=nossl
   DEFAULT_VARIANT:=1
@@ -71,7 +72,7 @@ endef
 define Package/zabbix-agentd-openssl
   $(call Package/zabbix/Default)
   TITLE+= agentd (with OpenSSL)
-  DEPENDS+= +libopenssl
+  DEPENDS+= +libevent2-pthreads +libopenssl
   PROVIDES:=zabbix-agentd
   VARIANT:=openssl
 endef
@@ -79,7 +80,7 @@ endef
 define Package/zabbix-agentd-gnutls
   $(call Package/zabbix/Default)
   TITLE+= agentd (with GnuTLS)
-  DEPENDS+= +libgnutls
+  DEPENDS+= +libevent2-pthreads +libgnutls
   PROVIDES:=zabbix-agentd
   VARIANT:=gnutls
 endef