diff options
| author | ruki <[email protected]> | 2018-11-14 23:50:14 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-11-14 17:01:26 +0800 |
| commit | 1feb7be8eca85f724b52fa875951179c52f9d018 (patch) | |
| tree | 1f0ed781894784c33e914bb39561528daeb57565 /xmake/platforms/android | |
| parent | a4b58d86da4cf3df4aeae5f390eaa1b69b8fffe8 (diff) | |
check gcc.cmd for android ndk on windows
Diffstat (limited to 'xmake/platforms/android')
| -rw-r--r-- | xmake/platforms/android/check.lua | 9 |
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") |
