diff options
| author | ruki <[email protected]> | 2025-10-09 00:45:42 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-10-09 00:45:42 +0800 |
| commit | 0821767a626d2446e2191f1dfc3a52c93685eb1a (patch) | |
| tree | 544af2914f45b621e063bee6fca67a31edae8110 | |
| parent | 3cab890282936d70f85b73a6a7448b68a5e0d632 (diff) | |
fix check clang
| -rw-r--r-- | xmake/toolchains/clang/check.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/toolchains/clang/check.lua b/xmake/toolchains/clang/check.lua index e921686de..107410a0b 100644 --- a/xmake/toolchains/clang/check.lua +++ b/xmake/toolchains/clang/check.lua @@ -52,18 +52,18 @@ function main(toolchain, suffix) end local sdkdir = toolchain:sdkdir() if sdkdir then - return toolchain_utils.check_vc_build_tools(toolchain, sdkdir, _check_clang) + return toolchain_utils.check_vc_build_tools(toolchain, sdkdir, check) else for _, package in ipairs(toolchain:packages()) do local installdir = package:installdir() if installdir and os.isdir(installdir) then - local result = toolchain_utils.check_vc_build_tools(toolchain, installdir, _check_clang) + local result = toolchain_utils.check_vc_build_tools(toolchain, installdir, check) if result then return result end end end - return toolchain_utils.check_vstudio(toolchain, _check_clang) + return toolchain_utils.check_vstudio(toolchain, check) end end end |
