Allow Windows binaries to use bcrypt and dbghelp.
These two libraries are used in the Windows version of ABSL,
which is a required dependency of Protobuf 22.x+.
Bug: 329747255
Test: local build
Change-Id: I19c9b75f2c6cfa7afbbb3a442f66b6319f9942ab
diff --git a/cc/config/x86_windows_host.go b/cc/config/x86_windows_host.go
index a4d43b9..1f6cf23 100644
--- a/cc/config/x86_windows_host.go
+++ b/cc/config/x86_windows_host.go
@@ -106,6 +106,8 @@
}
windowsAvailableLibraries = addPrefix([]string{
+ "bcrypt",
+ "dbghelp",
"gdi32",
"imagehlp",
"iphlpapi",