diff --git a/build.zig b/build.zig index a412c257d..459278e41 100644 --- a/build.zig +++ b/build.zig @@ -1022,7 +1022,7 @@ fn addDeps( // on x86_64. if (step.rootModuleTarget().os.tag == .linux) { const triple = try step.rootModuleTarget().linuxTriple(b.allocator); - step.addLibraryPath(b.path(b.fmt("/usr/lib/{s}", .{triple}))); + step.addLibraryPath(.{ .path = b.fmt("/usr/lib/{s}", .{triple}) }); } // C files