diff options
| -rw-r--r-- | xmake/modules/detect/sdks/find_ndk.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/modules/detect/sdks/find_ndk.lua b/xmake/modules/detect/sdks/find_ndk.lua index 2523eeb5e..0a13bff66 100644 --- a/xmake/modules/detect/sdks/find_ndk.lua +++ b/xmake/modules/detect/sdks/find_ndk.lua @@ -59,6 +59,9 @@ function _find_ndkdir(sdkdir) if not sdkdir and is_host("macosx") then sdkdir = find_directory("NDK", "/Applications/AndroidNDK*.app/Contents") if not sdkdir then + sdkdir = find_directory("*", "~/Library/Android/sdk/ndk") + end + if not sdkdir then sdkdir = "~/Library/Android/sdk/ndk-bundle" end end |
