[llvm] [bazel] Improve building on/for Windows (PR #171761)
David Zbarsky via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 13 10:19:56 PST 2025
================
@@ -297,7 +320,21 @@ cc_library(
}),
includes = ["include"],
linkopts = select({
- "@platforms//os:windows": [
+ ":is_windows_clang_mingw": [
+ "-lole32",
----------------
dzbarsky wrote:
note ole32 and uuid were missing here but are passed in https://github.com/llvm/llvm-project/blob/fa1dceb67f6fef652c2bf91c070ede64eadc49c6/llvm/lib/Support/CMakeLists.txt#L44C48-L44C53
the other libs are either added by default already or actually unused.
https://github.com/llvm/llvm-project/pull/171761
More information about the llvm-commits
mailing list