diff options
| author | ruki <[email protected]> | 2025-04-23 23:16:17 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-04-23 23:16:17 +0800 |
| commit | 3379ab5a5cdd2a607afd8a65a20aecb56fbca81f (patch) | |
| tree | bc361b8cf4d89aa917af435d91371c0845d78c18 /xmake/modules | |
| parent | d9fb42a0762e4318b4bcd43b3cd7b2bda027ca7a (diff) | |
improve to find windbg
Diffstat (limited to 'xmake/modules')
| -rw-r--r-- | xmake/modules/detect/tools/find_windbg.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/xmake/modules/detect/tools/find_windbg.lua b/xmake/modules/detect/tools/find_windbg.lua index 675b2aff3..85fc61d03 100644 --- a/xmake/modules/detect/tools/find_windbg.lua +++ b/xmake/modules/detect/tools/find_windbg.lua @@ -53,5 +53,9 @@ function main(opt) opt.check = opt.check or function (program) if not os.isfile(program) then raise() end end -- find program - return find_program(opt.program or "windbg", opt) + local program = find_program(opt.program or "windbg", opt) + if not program then + program = find_program("windbgx", opt) + end + return program end |
