Make Windows compile

This commit is contained in:
David Gonzalez Martin 2024-04-09 15:30:59 -06:00
parent 714da97a3f
commit 2dde2b4598

View File

@ -351,7 +351,7 @@ pub fn build(b: *std.Build) !void {
}; };
if (static or target.result.os.tag == .windows) { 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(); compiler.linkLibCpp();
const prefix = "nat/cache"; const prefix = "nat/cache";