Skip to content

Commit 66aa9c5

Browse files
authored
Fixup compilation fo x86_64-windows-msvc (#5)
1 parent 5104720 commit 66aa9c5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build.zig

+2-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ pub fn build(b: *std.Build) void {
116116

117117
zdawn.linkSystemLibrary("dawn");
118118
zdawn.linkLibC();
119-
zdawn.linkLibCpp();
119+
if (target.result.abi != .msvc)
120+
zdawn.linkLibCpp();
120121

121122
zdawn.addIncludePath(b.path("libs/dawn/include"));
122123
zdawn.addIncludePath(b.path("src"));

0 commit comments

Comments
 (0)