Merge pull request #131 from birth-software/make-windows-compile
Make Windows compile
This commit is contained in:
commit
636e6c0be2
@ -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";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user