From ae6763f5e35eb555489a3d5e24419e5dd3c89982 Mon Sep 17 00:00:00 2001 From: dzaima Date: Tue, 31 Oct 2023 03:15:32 +0200 Subject: [PATCH] name linker result by target name only on Windows avoids unnecessary relinking with varying output names of the same build --- build/src/build.bqn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/src/build.bqn b/build/src/build.bqn index 7ff49816..b03687f3 100755 --- a/build/src/build.bqn +++ b/build/src/build.bqn @@ -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 }