name linker result by target name only on Windows
avoids unnecessary relinking with varying output names of the same build
This commit is contained in:
parent
d911697242
commit
ae6763f5e3
@ -742,7 +742,7 @@ cachedBin‿linkerCache ← {
|
||||
objs∾↩ ⋈ MakeCCInv ⟨po.CBQNc, ⊢, linkerCache, "versionInfo", srcFile, ⟨⟩⟩
|
||||
}
|
||||
|
||||
res ← MakeLinkerInv ⟨po.Linker, linkerCache, {po.emcc? "BQN.js"; •file.Name po.output}, objs⟩
|
||||
res ← MakeLinkerInv ⟨po.Linker, linkerCache, {po.emcc? "BQN.js"; "windows"≡po.os? •file.Name po.output; "res"}, objs⟩
|
||||
|
||||
res.dst ⋈ linkerCache
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user