diff options
| author | ruki <[email protected]> | 2024-07-19 14:01:16 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-07-19 14:01:16 +0800 |
| commit | 3a8ad70888e14ab6cf91dc6377c1ea6007ee5037 (patch) | |
| tree | 12be6b78f5566422ab7ac87da124aef5c509d458 | |
| parent | 2e0fb34b2cd7824e9a4a92f307c33feea5634862 (diff) | |
| parent | 41a732af032a456352ca7096c6284127fa4a6c6e (diff) | |
Merge pull request #5361 from xmake-io/linkcache
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 {} |
