[llvm] [LLVM][CMake] Prefer to find libffi.a if present (PR #78779)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 19 16:23:23 PST 2024


MaskRay wrote:

+1 for a new CMake variable. Many distributions prefer dynamic linking. Linking in `libffi.a` could cause a conflict (usually benign) if a program links against both `libLLVM` and `libffi.so`.

https://github.com/llvm/llvm-project/pull/78779


More information about the llvm-commits mailing list