diff options
| author | ruki <[email protected]> | 2024-07-19 22:50:32 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-07-19 22:50:32 +0800 |
| commit | 41a732af032a456352ca7096c6284127fa4a6c6e (patch) | |
| tree | 9658d517e02961921d2f2803fd4aa8940f3be78e | |
| parent | 22df8e0d89a1d8f3358797ed2094f692be62b4e4 (diff) | |
fix link cache #5360
| -rw-r--r-- | xmake/core/tool/linker.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/core/tool/linker.lua b/xmake/core/tool/linker.lua index 347804eef..070c90a9f 100644 --- a/xmake/core/tool/linker.lua +++ b/xmake/core/tool/linker.lua @@ -133,6 +133,7 @@ function linker.load(targetkind, sourcekinds, target) local plat = linkertool:plat() or config.plat() or os.host() local arch = linkertool:arch() or config.arch() or os.arch() local cachekey = targetkind .. "_" .. linkerinfo.linkerkind .. (linkerinfo.program or "") .. plat .. arch + cachekey = cachekey .. table.concat(sourcekinds, "") -- @see https://github.com/xmake-io/xmake/issues/5360 -- get it directly from cache dirst builder._INSTANCES = builder._INSTANCES or {} |
