Merge pull request #131 from birth-software/make-windows-compile

Make Windows compile
This commit is contained in:
David 2024-04-09 15:31:32 -06:00 committed by GitHub
commit 636e6c0be2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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