Skip to content

Commit 9fa9531

Browse files
committed
fix #6393
1 parent 3d3f6c3 commit 9fa9531

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xmake/modules/detect/tools/find_rc.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ function main(opt)
6363
local arch = toolchain and toolchain:arch() or config.arch()
6464
local bindir = path.join(envs.WindowsSdkDir, "bin", envs.WindowsSDKVersion, arch)
6565
if os.isdir(bindir) then
66-
opt.paths = opt.paths or {}
66+
opt.paths = table.wrap(opt.paths)
6767
table.insert(opt.paths, bindir)
6868
end
6969
end

0 commit comments

Comments
 (0)