From 2725c20a723f7c2eca455a081a4d499723a21ac4 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Tue, 1 Aug 2023 20:34:35 -0700 Subject: [PATCH] coff: always link uuid.lib as part of mingw libc --- src/link/Coff/lld.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/src/link/Coff/lld.zig b/src/link/Coff/lld.zig index fe2055027f..bd82254e6a 100644 --- a/src/link/Coff/lld.zig +++ b/src/link/Coff/lld.zig @@ -405,6 +405,7 @@ pub fn linkWithLLD(self: *Coff, comp: *Compilation, prog_node: *std.Progress.Nod try argv.append(try comp.get_libc_crt_file(arena, "mingw32.lib")); try argv.append(try comp.get_libc_crt_file(arena, "mingwex.lib")); try argv.append(try comp.get_libc_crt_file(arena, "msvcrt-os.lib")); + try argv.append(try comp.get_libc_crt_file(arena, "uuid.lib")); for (mingw.always_link_libs) |name| { if (!self.base.options.system_libs.contains(name)) {