Skip to content

Commit d22dad9

Browse files
committed
[llvm][Bazel] Add missing library to linkopts on Windows.
1 parent bcee4a9 commit d22dad9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

utils/bazel/llvm-project-overlay/llvm/BUILD.bazel

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,9 @@ cc_library(
266266
}),
267267
includes = ["include"],
268268
linkopts = select({
269-
"@platforms//os:windows": [],
269+
"@platforms//os:windows": [
270+
"ws2_32.lib",
271+
],
270272
"@platforms//os:freebsd": [
271273
"-pthread",
272274
"-lexecinfo",

0 commit comments

Comments
 (0)