19d1ca28d2
Upstream commit
9e20cdf6ea
added dlopen() to others.c
https://github.com/Cisco-Talos/clamav-devel/blob/dev/0.104/libclamav/others.c#L199
"libclamav used to build in multiple stages where an earlier stage is
a static library containing utils required by the "shared" code.
Linking clamdscan and clamdtop with this libclamav utils static lib
allowed these two apps to function without libclamav. While this is
nice in theory, the practical gains are minimal and it complicates
the build system. As such, the autotools and CMake tooling was
simplified for improved maintainability and this feature was thrown
out. clamdtop and clamdscan now require libclamav to function."
Fixes:
http://autobuild.buildroot.net/results/e27/e276894781e3e37fbc03a0745738c61541e0a211/
http://autobuild.buildroot.net/results/552/552ee8d9e44152c9d7e315a5491542771264d466/
http://autobuild.buildroot.net/results/fde/fde4af47542f0eb0bd57b172c99bd086eb566b76/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
23 lines
732 B
Plaintext
23 lines
732 B
Plaintext
config BR2_PACKAGE_CLAMAV
|
|
bool "clamav"
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
depends on BR2_USE_MMU # fork()
|
|
depends on !BR2_STATIC_LIBS # dlopen
|
|
depends on BR2_USE_WCHAR
|
|
select BR2_PACKAGE_LIBCURL
|
|
select BR2_PACKAGE_LIBMSPACK
|
|
select BR2_PACKAGE_MUSL_FTS if !BR2_TOOLCHAIN_USES_GLIBC
|
|
select BR2_PACKAGE_OPENSSL
|
|
select BR2_PACKAGE_ZLIB
|
|
help
|
|
ClamAV is an open source antivirus engine for detecting
|
|
trojans, viruses, malware & other malicious threats.
|
|
|
|
http://www.clamav.net
|
|
|
|
comment "clamav needs a toolchain w/ C++, dynamic library, threads, wchar"
|
|
depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS \
|
|
|| !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
|
|
depends on BR2_USE_MMU
|