Skip to content

Commit 9dc4759

Browse files
committed
zig std: link ws2_32.dll on windows
Closes #24450.
1 parent a5dbb65 commit 9dc4759

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main.zig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,7 @@ fn mainArgs(gpa: Allocator, arena: Allocator, args: []const []const u8) !void {
334334
return jitCmd(gpa, arena, cmd_args, .{
335335
.cmd_name = "std",
336336
.root_src_path = "std-docs.zig",
337+
.windows_libs = &.{"ws2_32"},
337338
.prepend_zig_lib_dir_path = true,
338339
.prepend_zig_exe_path = true,
339340
.prepend_global_cache_path = true,

0 commit comments

Comments
 (0)