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";