Skip to content

Commit d62680c

Browse files
authored
Update build.zig (#11)
fix a typo that breaks MacOS builds
1 parent f19a4c5 commit d62680c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ pub fn addVulkanApple(b: *std.Build, step: *std.Build.Step, c_lib: *std.Build.St
146146
const moltenVkJsonInstall = b.addInstallLibFile(moltenVkJsonPath, b.fmt("{s}/MoltenVK_icd.json", .{name}));
147147
step.dependOn(&moltenVkJsonInstall.step);
148148

149-
const jsonPath = b.fmt("zig-out/lib{s}/MoltenVK_icd.json", .{name});
149+
const jsonPath = b.fmt("zig-out/lib/{s}/MoltenVK_icd.json", .{name});
150150
const replacements: []const ReplacementPair = &.{.{.find = "./libMoltenVK.dylib", .replace = "libMoltenVK.dylib"}};
151151
const replaceMoltenvkLibPathStep = patchFile(b, replace_tool, replacements, jsonPath, &moltenVkJsonInstall.step);
152152

0 commit comments

Comments
 (0)