| ... | ... | @@ -1041,6 +1041,11 @@ pub fn addModuleTests(b: *std.Build, options: ModuleTestOptions) *Step { |
| 1041 | 1041 | compile_c.subsystem = .Console; |
| 1042 | 1042 | compile_c.linkSystemLibrary("kernel32"); |
| 1043 | 1043 | compile_c.linkSystemLibrary("ntdll"); |
| 1044 | if (mem.eql(u8, options.name, "std")) { |
| 1045 | compile_c.linkSystemLibrary("crypt32"); |
| 1046 | compile_c.linkSystemLibrary("ws2_32"); |
| 1047 | compile_c.linkSystemLibrary("ole32"); |
| 1048 | } |
| 1044 | 1049 | } |
| 1045 | 1050 | |
| 1046 | 1051 | const run = b.addRunArtifact(compile_c); |