Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LLVM now includes the minor version in the soname, and also changed the names of library files. libLLVM-18.so is now a symlink to libLLVM.so.18.1. We need to make two changes to support this: First, we need to run the installed llvm-config binary, rather than the one from the build directory. This is because the symlink does not exist in the build directory, but llvm-config requires it. This looks like an LLVM bug to me, but it's probably a good idea to use the installed version anyway. Second, when installing LLVM into the libdir, we need to follow the symlink from libLLVM-18.so to libLLVM.so.18.1, as this is what will actually get loaded at runtime.
- Loading branch information