diff options
| author | ruki <[email protected]> | 2020-09-16 22:53:06 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-09-16 22:53:06 +0800 |
| commit | ef86cee77a2cb6cdb3449b48ce33cb8123933a8c (patch) | |
| tree | 18b4d7f9796d0a37bec49fbabb8dfdd8905bd9ce /xmake/modules/detect/tools/find_emar.lua | |
| parent | 409275d22cf9137845021203c812a1c890a3ddd8 (diff) | |
fix emcc for windows
Diffstat (limited to 'xmake/modules/detect/tools/find_emar.lua')
| -rw-r--r-- | xmake/modules/detect/tools/find_emar.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/detect/tools/find_emar.lua b/xmake/modules/detect/tools/find_emar.lua index ef4ce81b5..cd1e47bda 100644 --- a/xmake/modules/detect/tools/find_emar.lua +++ b/xmake/modules/detect/tools/find_emar.lua @@ -63,5 +63,5 @@ function main(opt) opt.check = opt.check or _check -- find program - return find_program(opt.program or "emar", opt) + return find_program(opt.program or (is_host("windows") and "emar.bat" or "emar"), opt) end |
