diff options
| author | ruki <[email protected]> | 2016-11-23 09:46:40 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-11-23 09:46:40 +0800 |
| commit | 2ea0b24f21a51aab56e79ae81f8f8b71c450161a (patch) | |
| tree | 049d0888dbaf1cfd13e472b4fcfcbe47d7dc116d | |
| parent | 7d88023cb140cb2a49985caf4922a8904496a402 (diff) | |
fix check android toolchains version for windows
| -rw-r--r-- | xmake/platforms/android/checker.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/platforms/android/checker.lua b/xmake/platforms/android/checker.lua index f34da2f2d..4d6ac4087 100644 --- a/xmake/platforms/android/checker.lua +++ b/xmake/platforms/android/checker.lua @@ -104,7 +104,7 @@ function _check_toolchains(config) -- get toolchains version local toolchains = config.get("toolchains") if toolchains then - local pos, _, toolchains_ver = toolchains:find("%-(%d*%.%d*)/") + local pos, _, toolchains_ver = toolchains:find("%-(%d*%.%d*)[/\\]") if pos and toolchains_ver then -- save the toolchains version |
