diff options
| author | ruki <[email protected]> | 2025-05-11 18:31:00 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-05-11 18:31:00 +0800 |
| commit | 22fcfc64078f4ad04a9ecf5af30adaf7dae199e5 (patch) | |
| tree | b8a0f9f7315ae3b92f3d0798a826130d1c9bc45c | |
| parent | a63d20a4eabb65df9394621fce705401ca259977 (diff) | |
fix toolchain.tool
| -rw-r--r-- | xmake/core/tool/toolchain.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/core/tool/toolchain.lua b/xmake/core/tool/toolchain.lua index e5a7626c2..c24233347 100644 --- a/xmake/core/tool/toolchain.lua +++ b/xmake/core/tool/toolchain.lua @@ -521,6 +521,11 @@ function _instance:_checktool(toolkind, toolpath) if tool then program = tool.program toolname = toolname or tool.name + else + -- we need reset result if not found + -- https://github.com/xmake-io/xmake/discussions/6415#discussioncomment-13099816 + program = nil + toolname = nil end -- get tool description from the tool kind |
