mirror of https://github.com/Cisco-Talos/clamav
At install, the CMake build may fail if it detects the same library dependency in two locations. This happened for us with the following error: CMake Error at libfreshclam/cmake_install.cmake:157 (file): file Multiple conflicting paths found for libcrypto-3-x64.dll: C:/Users/clamav_jenkins_svc.TALOS/clam_dependencies/x64/lib/libcrypto-3-x64.dll C:/WINDOWS/system32/libcrypto-3-x64.dll C:\WINDOWS\system32/libcrypto-3-x64.dll Call Stack (most recent call first): cmake_install.cmake:96 (include) This happens when system provided DLL names match exactly with the ones we provide. ClamAV woudld't prefer that DLL at load time, because it looks in the EXE directory first. But it does confuse the `file()` command used to locate build dependencies. The fix in this commit uses a regex to exclude all libraries found under C:\Windowspull/1453/head
parent
f60e2db3ec
commit
1b504ef30d
Loading…
Reference in new issue