Lld: fix implib emit path

Resolves: https://github.com/ziglang/zig/issues/24993
This commit is contained in:
mlugg 2025-10-01 13:18:00 +01:00 committed by Matthew Lugg
parent 2cdafe9106
commit 1914d1a6e5

View file

@ -505,7 +505,7 @@ fn coffLink(lld: *Lld, arena: Allocator) !void {
try argv.append(try allocPrint(arena, "-OUT:{s}", .{full_out_path}));
if (comp.emit_implib) |raw_emit_path| {
const path = try comp.resolveEmitPathFlush(arena, .temp, raw_emit_path);
const path = try comp.resolveEmitPathFlush(arena, .artifact, raw_emit_path);
try argv.append(try allocPrint(arena, "-IMPLIB:{f}", .{path}));
}