From 2dde2b45984b1a623855316147aa94bc10a7636f Mon Sep 17 00:00:00 2001 From: David Gonzalez Martin Date: Tue, 9 Apr 2024 15:30:59 -0600 Subject: [PATCH] Make Windows compile --- build.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.zig b/build.zig index 65667ae..f084a63 100644 --- a/build.zig +++ b/build.zig @@ -351,7 +351,7 @@ pub fn build(b: *std.Build) !void { }; if (static or target.result.os.tag == .windows) { - if (os == .linux) compiler.linkage = .static; + if (target.result.os.tag == .linux) compiler.linkage = .static; compiler.linkLibCpp(); const prefix = "nat/cache";