Skip to content

Commit 056a489

Browse files
committed
add a name to the packagePython WriteFiles step
1 parent e8446ac commit 056a489

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ fn packagePython(b: *std.Build, version: Version, upstream: *std.Build.Dependenc
401401
root: std.Build.LazyPath,
402402
exe: std.Build.LazyPath,
403403
} {
404-
const write_files = b.addWriteFiles();
404+
const write_files = b.addNamedWriteFiles(exe.name);
405405
_ = write_files.addCopyDirectory(upstream.path("Lib"), b.fmt("lib/python{s}", .{version.libName()}), .{});
406406
const empty_dir = b.addWriteFiles().getDirectory();
407407
_ = write_files.addCopyDirectory(empty_dir, b.fmt("lib/python{s}/lib-dynload", .{version.libName()}), .{});

0 commit comments

Comments
 (0)