summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2024-08-14 23:21:56 +0800
committerruki <[email protected]>2024-08-23 08:14:31 +0800
commitc04fe1062f5443425629b441a60f7856e1a5cb00 (patch)
tree2ac82752e1860dcb6d86f21c2d216f827751e096
parentbfa9955d94112c4efdded7ef25e5765b0d282d72 (diff)
ignore missing on_check toolchains
-rw-r--r--xmake/core/tool/toolchain.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/tool/toolchain.lua b/xmake/core/tool/toolchain.lua
index a3887d47e..026399312 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