summaryrefslogtreecommitdiff
path: root/xmake/core/tool/toolchain.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-01-04 23:01:41 +0800
committerruki <[email protected]>2023-01-04 23:01:41 +0800
commit0ec969792ddf1e9b964c2744f146b53e63f79910 (patch)
treec62d6d8add2b2c947ee373a0419b0e4bbd0d53ee /xmake/core/tool/toolchain.lua
parentd7b98c9c16ca12c25267c43c6b88ba7645fe5476 (diff)
improve link for masm32
Diffstat (limited to 'xmake/core/tool/toolchain.lua')
-rw-r--r--xmake/core/tool/toolchain.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/tool/toolchain.lua b/xmake/core/tool/toolchain.lua
index 32507768a..0ee62b34e 100644
--- a/xmake/core/tool/toolchain.lua
+++ b/xmake/core/tool/toolchain.lua
@@ -439,7 +439,7 @@ function _instance:_checktool(toolkind, toolpath)
end
-- find tool program
- local tool = find_tool(toolpath, {cachekey = cachekey, program = program or toolpath, paths = self:bindir(), envs = self:get("runenvs")})
+ local tool = find_tool(toolpath, {toolchain = self, cachekey = cachekey, program = program or toolpath, paths = self:bindir(), envs = self:get("runenvs")})
if tool then
program = tool.program
toolname = toolname or tool.name