[llvm] b07aaf8 - [gn] port a5ffabce98a4 (unix sockets -> ws2_32.lib dep everywhere O_o)
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 13 19:31:05 PST 2023
Author: Nico Weber
Date: 2023-12-13T22:30:45-05:00
New Revision: b07aaf8d3bde911638b0370037204898c3c2deb7
URL: https://github.com/llvm/llvm-project/commit/b07aaf8d3bde911638b0370037204898c3c2deb7
DIFF: https://github.com/llvm/llvm-project/commit/b07aaf8d3bde911638b0370037204898c3c2deb7.diff
LOG: [gn] port a5ffabce98a4 (unix sockets -> ws2_32.lib dep everywhere O_o)
Added:
Modified:
llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
index 989e805f51178b..8f8b056ef0faeb 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
@@ -185,6 +185,8 @@ static_library("Support") {
if (current_os == "linux" || current_os == "android") {
libs += [ "dl" ]
} else if (current_os == "win") {
+ libs = [ "ws2_32.lib" ]
+
# Delay load shell32.dll if possible to speed up process startup.
libs += [ "delayimp.lib" ]
ldflags = [
More information about the llvm-commits
mailing list