diff options
| author | RimuruChan <[email protected]> | 2025-05-13 04:16:10 +0800 |
|---|---|---|
| committer | RimuruChan <[email protected]> | 2025-05-15 17:28:31 +0800 |
| commit | 8ccaf071e47d4db7614d0ef69e67be5a979e7919 (patch) | |
| tree | 742482e11801e6127ff61627cff65a276e12b81b /xmake/modules/detect/tools/find_curl.lua | |
| parent | 9b52d78996d56d79565bed33be7e5a7be98c15f7 (diff) | |
Wrap opt.paths in a table for find tools
Diffstat (limited to 'xmake/modules/detect/tools/find_curl.lua')
| -rw-r--r-- | xmake/modules/detect/tools/find_curl.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/detect/tools/find_curl.lua b/xmake/modules/detect/tools/find_curl.lua index 493264684..899f51721 100644 --- a/xmake/modules/detect/tools/find_curl.lua +++ b/xmake/modules/detect/tools/find_curl.lua @@ -42,7 +42,7 @@ function main(opt) -- find curl from builtin xmake/winenv if is_host("windows") then - opt.paths = opt.paths or {} + opt.paths = table.wrap(opt.paths) table.insert(opt.paths, path.join(os.programdir(), "winenv", "bin")) end |
