summaryrefslogtreecommitdiff
path: root/xmake/platforms/android/check.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/platforms/android/check.lua')
-rw-r--r--xmake/platforms/android/check.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/xmake/platforms/android/check.lua b/xmake/platforms/android/check.lua
index cd4c8b786..7c1fa50b4 100644
--- a/xmake/platforms/android/check.lua
+++ b/xmake/platforms/android/check.lua
@@ -69,6 +69,15 @@ function _toolchains(config)
checker.toolchain_insert(toolchains, "ex", cross, "ar", "the static library extractor")
checker.toolchain_insert(toolchains, "sh", cross, "g++", "the shared library linker")
checker.toolchain_insert(toolchains, "sh", cross, "gcc", "the shared library linker")
+ if is_host("windows") then
+ checker.toolchain_insert(toolchains, "cc", cross, "gcc.cmd", "the c compiler")
+ checker.toolchain_insert(toolchains, "cxx", cross, "g++.cmd", "the c++ compiler")
+ checker.toolchain_insert(toolchains, "as", cross, "gcc.cmd", "the assember")
+ checker.toolchain_insert(toolchains, "ld", cross, "g++.cmd", "the linker")
+ checker.toolchain_insert(toolchains, "ld", cross, "gcc.cmd", "the linker")
+ checker.toolchain_insert(toolchains, "sh", cross, "g++.cmd", "the shared library linker")
+ checker.toolchain_insert(toolchains, "sh", cross, "gcc.cmd", "the shared library linker")
+ end
-- insert rust tools to toolchains
checker.toolchain_insert(toolchains, "rc", "", "rustc", "the rust compiler")