Skip to content
Snippets Groups Projects
Commit b75996f1 authored by Thomas Guillem's avatar Thomas Guillem
Browse files

build: switch to NDK18

parent 66a54e4f
No related branches found
No related tags found
No related merge requests found
......@@ -274,14 +274,14 @@ VLC_CONTRIB="$VLC_SRC_DIR/contrib/$TARGET_TUPLE"
# try to detect NDK version
REL=$(grep -o '^Pkg.Revision.*[0-9]*.*' $ANDROID_NDK/source.properties |cut -d " " -f 3 | cut -d "." -f 1)
if [ "$REL" -eq 17 ]; then
if [ "$REL" -eq 18 ]; then
if [ "${HAVE_64}" = 1 ]; then
ANDROID_API=21
else
ANDROID_API=17
fi
else
echo "NDK v17 needed, cf. https://developer.android.com/ndk/downloads/older_releases.html"
echo "NDK v18 needed, cf. https://developer.android.com/ndk/downloads/"
exit 1
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment