diff options
Diffstat (limited to 'xmake/modules')
| -rw-r--r-- | xmake/modules/detect/tools/find_cosmocc.lua | 1 | ||||
| -rw-r--r-- | xmake/modules/detect/tools/find_cosmocxx.lua | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/xmake/modules/detect/tools/find_cosmocc.lua b/xmake/modules/detect/tools/find_cosmocc.lua index b89244994..be7c873f8 100644 --- a/xmake/modules/detect/tools/find_cosmocc.lua +++ b/xmake/modules/detect/tools/find_cosmocc.lua @@ -36,6 +36,7 @@ import("lib.detect.find_programver") -- function main(opt) opt = opt or {} + opt.shell = true local program = find_program(opt.program or "cosmocc", opt) local version = nil if program and opt and opt.version then diff --git a/xmake/modules/detect/tools/find_cosmocxx.lua b/xmake/modules/detect/tools/find_cosmocxx.lua index c9a06fb0d..535cea6ab 100644 --- a/xmake/modules/detect/tools/find_cosmocxx.lua +++ b/xmake/modules/detect/tools/find_cosmocxx.lua @@ -36,6 +36,7 @@ import("lib.detect.find_programver") -- function main(opt) opt = opt or {} + opt.shell = true local program = find_program(opt.program or "cosmoc++", opt) local version = nil if program and opt and opt.version then |
