std.Build.CompileStep: fix installLibraryHeaders regression

reverts regression introduced in
d2ad3f5074877475c8f0ec0fbbb323a05fe8cf78.

The commit correctly removed dest_builder from InstallArtifactStep, but
the change to installLibraryHeaders was incorrect since it affected
different steps than that one.
This commit is contained in:
Andrew Kelley 2023-04-14 11:59:27 -07:00
parent 0733c8c5ca
commit e0890734f0

View File

@ -511,7 +511,7 @@ pub fn installLibraryHeaders(cs: *CompileStep, l: *CompileStep) void {
const T = id.Type();
const ptr = b.allocator.create(T) catch @panic("OOM");
ptr.* = step.cast(T).?.*;
ptr.step.owner = b;
ptr.dest_builder = b;
break :blk &ptr.step;
},
else => unreachable,