use the same file name as output for cached file
For Windows, the original file name is written into the binary, which can cause problems when linking
This commit is contained in:
parent
a4befbd8bf
commit
2e43c57a03
@ -741,7 +741,7 @@ cachedBin‿linkerCache ← {
|
||||
objs∾↩ ⋈ MakeCCInv ⟨po.CBQNc, ⊢, linkerCache, "versionInfo", srcFile, ⟨⟩⟩
|
||||
}
|
||||
|
||||
res ← MakeLinkerInv ⟨po.Linker, linkerCache, {po.emcc? "BQN.js"; "windows"≡po.os? "res.exe"; "res"}, objs⟩
|
||||
res ← MakeLinkerInv ⟨po.Linker, linkerCache, {po.emcc? "BQN.js"; •file.Name po.output}, objs⟩
|
||||
|
||||
res.dst ⋈ linkerCache
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user