clamav/clamsubmit
Micah Snyder c3980963d2 CMake: link openssl 3.x with clamsubmit on macOS
When switching to openssl 3.x, linking with clamsubmit fails with
undefined openssl symbols. The error message from Xcode is crazy obtuse:

ld: initializer '_OPENSSL_cpuid_setup' is >4GB from start of image in 'anon' from /Users/clamav_jenkins_svc/clamav-mussels-cookbook/test/install-x86_64/lib/libcrypto.a(libcrypto-lib-x86_64cpuid.o)
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Anyhow... It seems that we must explicitly link clamsubmit with openssl
now in order for this to work.

In addition to this change, I also found that the CMake FindRust.cmake 
module breaks the ability to build specifically for just x86_64 or arm64
(i.e. possibly cross-compiling. 
This commit includes a change to accommodate that scenario.
2023-08-04 15:53:15 -07:00
..
clamsubmit.c Add explicit log level parameter to application logging API 2022-02-15 15:13:55 -08:00
CMakeLists.txt CMake: link openssl 3.x with clamsubmit on macOS 2023-08-04 15:53:15 -07:00