From 47d44450f181dff85b6e77f02f184b0044604197 Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 21 Jun 2022 00:51:04 +0800 Subject: improve tool --- xmake/core/project/target.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmake/core/project/target.lua b/xmake/core/project/target.lua index 21a27c91a..718cba8b6 100644 --- a/xmake/core/project/target.lua +++ b/xmake/core/project/target.lua @@ -2001,7 +2001,7 @@ function _instance:tool(toolkind) end end -- get program from `xmake f --cc` - if not program and not self:get("toolchains") then + if not program then program = config.get(toolkind) end -- cgit v1.3.1