diff --git a/lib/std/Build/Step/WriteFile.zig b/lib/std/Build/Step/WriteFile.zig index 51db4bb3c3..01019274fd 100644 --- a/lib/std/Build/Step/WriteFile.zig +++ b/lib/std/Build/Step/WriteFile.zig @@ -96,7 +96,7 @@ pub fn addCopyFile(wf: *WriteFile, source: std.Build.LazyPath, sub_path: []const wf.maybeUpdateName(); source.addStepDependencies(&wf.step); - return file.getLazyPath(); + return file.getPath(); } /// A path relative to the package root.