We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ccf270 commit bb7fa2bCopy full SHA for bb7fa2b
xmake/toolchains/llvm/check.lua
@@ -75,7 +75,7 @@ function main(toolchain)
75
end
76
elseif is_host("windows") then
77
local llvm_ar = find_tool("llvm-ar", {force = true, envs = {PATH = os.getenv("PATH")}})
78
- if llvm_ar and llvm_ar.program and os.isfile(llvm_ar.program) then
+ if llvm_ar and llvm_ar.program and path.is_absolute(llvm_ar.program) then
79
bindir = path.directory(llvm_ar.program)
80
sdkdir = path.directory(bindir)
81
0 commit comments