clamav: add missing dependency
authorTianling Shen <cnsztl@immortalwrt.org>
Sat, 3 Aug 2024 07:18:53 +0000 (15:18 +0800)
committerTianling Shen <cnsztl@gmail.com>
Mon, 5 Aug 2024 07:44:51 +0000 (15:44 +0800)
clamav needs rust toolchain to build, add $(RUST_ARCH_DEPENDS) to
dependencies to avoid building on unsupported architectures.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
net/clamav/Makefile

index 9890c6b0f27891bfc28371f3f183cade5b38e044..1c8e28ade9b3b8656cd6dee0b9ca073add2e802e 100644 (file)
@@ -31,7 +31,9 @@ include $(INCLUDE_DIR)/cmake.mk
 
 define Package/clamav/Default
   SECTION:=net
-  DEPENDS:=+check +libstdcpp +libpthread +zlib +libbz2 +libxml2 +libcurl +libjson-c +libmilter-sendmail +libopenssl +libltdl +libpcre2 $(ICONV_DEPENDS)
+  DEPENDS:=+check +libstdcpp +libpthread +zlib +libbz2 +libxml2 \
+    +libcurl +libjson-c +libmilter-sendmail +libopenssl +libltdl \
+    +libpcre2 $(ICONV_DEPENDS) $(RUST_ARCH_DEPENDS)
   CATEGORY:=Network
   SUBMENU:=Web Servers/Proxies
   TITLE:=ClamAV