We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8153cd3 commit 489f034Copy full SHA for 489f034
1 file changed
buildScript/lib/mieru.sh
@@ -20,10 +20,13 @@ fi
20
MIERU_VERSION="${MIERU_VERSION:-v3.34.0}"
21
22
DEPS="$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin"
23
-# macOS NDK host dir is darwin-x86_64; fall back if linux path is absent.
+# macOS NDK host dirs are darwin-x86_64 / darwin-arm64; fall back if linux is absent.
24
if [ ! -d "$DEPS" ]; then
25
DEPS="$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/darwin-x86_64/bin"
26
fi
27
+if [ ! -d "$DEPS" ]; then
28
+ DEPS="$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/darwin-arm64/bin"
29
+fi
30
31
echo "Error: NDK LLVM toolchain not found under $ANDROID_NDK_HOME (unsupported host or NDK layout)." >&2
32
exit 1
0 commit comments