diff --git a/CHANGELOG.md b/CHANGELOG.md index a55978775..ecba9bf61 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ### Fixed - Improve DLL search on Windows to take target architecture into account (e.g., ARM64 vs x86-64) +- Improved detection of `libclang` installed with Visual Studio on Windows ## [1.8.0] - 2024-05-26 diff --git a/build/common.rs b/build/common.rs index a32e8b686..696d92339 100644 --- a/build/common.rs +++ b/build/common.rs @@ -189,7 +189,7 @@ const DIRECTORIES_WINDOWS: &[(&str, bool)] = &[ ("C:\\LLVM\\lib", true), // LLVM + Clang can be installed as a component of Visual Studio. // https://github.com/KyleMayes/clang-sys/issues/121 - ("C:\\Program Files*\\Microsoft Visual Studio\\*\\BuildTools\\VC\\Tools\\Llvm\\**\\lib", true), + ("C:\\Program Files*\\Microsoft Visual Studio\\*\\VC\\Tools\\Llvm\\**\\lib", true), ]; /// `libclang` directory patterns for illumos