1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-23 12:05:11 -07:00

android-build.sh: exit with return code 1 if the NDK is not present

This commit is contained in:
Greg Hazel 2020-06-06 00:36:57 -07:00 committed by GitHub
parent 6499766fb6
commit c6506e6441
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ export NDK_API_VERSION_COMPAT=$(echo "$NDK_PLATFORM_COMPAT" | sed 's/^android-//
if [ -z "$ANDROID_NDK_HOME" ]; then
echo "You should probably set ANDROID_NDK_HOME to the directory containing"
echo "the Android NDK"
exit
exit 1
fi
if [ ! -f ./configure ]; then