std.Build.Step.WriteFile: fix call to nonexistent function

This commit is contained in:
GethDW 2023-07-31 10:27:54 +01:00 committed by Jakub Konka
parent 43b8304153
commit 33e4cbb20f

View File

@ -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.