summaryrefslogtreecommitdiff
path: root/xmake/modules/detect/tools/find_emxx.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-09-16 22:53:06 +0800
committerruki <[email protected]>2020-09-16 22:53:06 +0800
commitef86cee77a2cb6cdb3449b48ce33cb8123933a8c (patch)
tree18b4d7f9796d0a37bec49fbabb8dfdd8905bd9ce /xmake/modules/detect/tools/find_emxx.lua
parent409275d22cf9137845021203c812a1c890a3ddd8 (diff)
fix emcc for windows
Diffstat (limited to 'xmake/modules/detect/tools/find_emxx.lua')
-rw-r--r--xmake/modules/detect/tools/find_emxx.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/detect/tools/find_emxx.lua b/xmake/modules/detect/tools/find_emxx.lua
index 6adaea5c9..1c9fe5840 100644
--- a/xmake/modules/detect/tools/find_emxx.lua
+++ b/xmake/modules/detect/tools/find_emxx.lua
@@ -41,7 +41,7 @@ function main(opt)
opt = opt or {}
-- find program
- local program = find_program(opt.program or "em++", opt)
+ local program = find_program(opt.program or (is_host("windows") and "em++.bat" or "em++"), opt)
-- find program version
local version = nil