mirror of
https://github.com/ziglang/zig.git
synced 2025-12-25 15:43:06 +00:00
stage2 LLD .ar linking: fix wrong object file path
closes #6721 closes #6722
This commit is contained in:
parent
198d1438ea
commit
78199a684f
@ -435,7 +435,8 @@ pub const File = struct {
|
||||
.target = base.options.target,
|
||||
.output_mode = .Obj,
|
||||
});
|
||||
const full_obj_path = try directory.join(arena, &[_][]const u8{obj_basename});
|
||||
const o_directory = base.options.module.?.zig_cache_artifact_directory;
|
||||
const full_obj_path = try o_directory.join(arena, &[_][]const u8{obj_basename});
|
||||
break :blk full_obj_path;
|
||||
}
|
||||
try base.flushModule(comp);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user