From 9fc4bc1e140f727dd06b82ecc3825bbf60473853 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 18 Apr 2024 14:57:00 -0700 Subject: [PATCH] build: absolute path should not use b.path --- build.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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