diff --git a/xmake/core/tool/toolchain.lua b/xmake/core/tool/toolchain.lua index a3887d47e4d..02639931202 100644 --- a/xmake/core/tool/toolchain.lua +++ b/xmake/core/tool/toolchain.lua @@ -382,7 +382,7 @@ end -- is checked? function _instance:_is_checked() - return self:config("__checked") == true + return self:config("__checked") == true or self:_on_check() == nil end -- get the tool description from the tool kind