Skip to content

Commit

Permalink
Update build.zig
Browse files Browse the repository at this point in the history
  • Loading branch information
basdp committed Oct 9, 2024
1 parent cfbcc11 commit b006185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pub fn build(b: *std.Build) !void {

switch (target.result.os.tag) {
.windows => {
var path: [128]u8 = undefined;
var path: [128:0]u8 = undefined;
_ = try std.fmt.bufPrint(&path, "skia/lib/win-{s}", .{@tagName(target.result.cpu.arch)});
module.addLibraryPath(b.path(&path));
},
Expand Down

0 comments on commit b006185

Please sign in to comment.