diff options
| -rw-r--r-- | xmake/core/project/target.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
