diff options
| author | ruki <[email protected]> | 2018-09-29 09:33:39 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-09-29 09:33:39 +0800 |
| commit | 5ab49e216d230bcced6b2884f19a70260019bfb3 (patch) | |
| tree | 9b4f3b9e915852f9d6b62cdb7ddbfe91285444ee /xmake/platforms/android/check.lua | |
| parent | f90792531c3a86f91b870716288073a6a8d60201 (diff) | |
improve to find xcode
Diffstat (limited to 'xmake/platforms/android/check.lua')
| -rw-r--r-- | xmake/platforms/android/check.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/platforms/android/check.lua b/xmake/platforms/android/check.lua index fd5bea46f..cb1cc6436 100644 --- a/xmake/platforms/android/check.lua +++ b/xmake/platforms/android/check.lua @@ -28,8 +28,9 @@ import("detect.sdks.find_ndk") -- check the ndk toolchain function _check_ndk(config) - local ndk = find_ndk(config.get("ndk"), {verbose = true}) + local ndk = find_ndk(config.get("ndk"), {force = true, verbose = true}) if ndk then + config.set("ndk", ndk.sdkdir, {force = true, readonly = true}) -- maybe to global config.set("bin", ndk.bindir) config.set("cross", ndk.cross) else |
