summaryrefslogtreecommitdiff
path: root/xmake/core/project/target.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-12-14 22:43:43 +0800
committerruki <[email protected]>2020-12-14 22:43:43 +0800
commita6f93e44186006e0ee73450937608ec24fef192e (patch)
tree9bbadaeda9edc14f713c9bd284ddec922b791b05 /xmake/core/project/target.lua
parent4030bf655cd5bbf3af26b682078f4354eb2cb86c (diff)
add multivs tests
Diffstat (limited to 'xmake/core/project/target.lua')
-rw-r--r--xmake/core/project/target.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/project/target.lua b/xmake/core/project/target.lua
index dab501131..bb6516767 100644
--- a/xmake/core/project/target.lua
+++ b/xmake/core/project/target.lua
@@ -1745,7 +1745,7 @@ function _instance:tool(toolkind)
end
-- get tool program
- local key = toolkind .. "_" .. self:plat() .. "_" .. self:arch()
+ local key = self:name() .. "_" .. toolkind .. "_" .. self:plat() .. "_" .. self:arch()
local program, toolname, toolchain_info
local toolinfo = tools[key]
if toolinfo == nil then