[llvm] [llvm][cmake] Properly place clang runtime directory on linker command line when WinMsvc.cmake is involved (PR #110084)

Mike Hommey via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 26 00:59:14 PDT 2024


glandium wrote:

> The only thing that bothers me here is that in the end, we have two (potentially) different libs accessible from the libpaths. Prioritizing one against the other may be the right approach, but I'd feel more confident if we only have one. Have you tried removing the `-libpath` that introduces the redundancy from `WinMsvc.cmake` ?

The directory that contains the clang runtime in MSVC also contains the MSVC runtime, which is also required.

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


More information about the llvm-commits mailing list