We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1492305 commit 1b3b895Copy full SHA for 1b3b895
tools/build_ffmpeg.sh
@@ -6,7 +6,7 @@ cd lib/ffmpeg
6
[ -n "$ANDROID_NDK" ] || { echo >&2 no ndk; exit 1; }
7
if [ -z "$HOST_ARCH" ]
8
then
9
- HOST_ARCH="$(find "$ANDROID_NDK/toolchains/llvm/prebuilt" -mindepth 1 -maxdepth 1 -printf '%f\0' | head -zn1)"
+ HOST_ARCH="$(find "$ANDROID_NDK/toolchains/llvm/prebuilt" -mindepth 1 -maxdepth 1 -printf '%f\0' | head -zn1 | head -c-1)"
10
echo >&2 "using host arch $HOST_ARCH - set \$HOST_ARCH to change"
11
fi
12
0 commit comments