diff options
| author | ruki <[email protected]> | 2022-06-21 00:51:04 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-06-21 00:51:04 +0800 |
| commit | 47d44450f181dff85b6e77f02f184b0044604197 (patch) | |
| tree | 1335127d5c7322fe262379a4192a57d222a76aba | |
| parent | cf2f731372623014772378fa95126e8b04806463 (diff) | |
improve tool
| -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 |
