Commit 02f7ae7
committed
[NDK] Properly detect 64-bit NDK
The code detecting whether an instance of NDK is a 64-bit one assumed
that the GNU binutils paths existed below the toolchains dir and used
them to check whether the 64-bit platform directory exists under them in
order to determine if the NDK is a 64-bit one. NDK r23, however, will
remove the GNU binutils completely and those paths no longer exist.
Add a check for the `toolchains/llvm/prebuilt/[PLATFORM]` directory
existence before the older check so that detection works correctly for
NDK r23+.1 parent 623332d commit 02f7ae7
1 file changed
+5
-1
lines changedLines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
91 | 95 | | |
92 | 96 | | |
93 | 97 | | |
| |||
0 commit comments