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