mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-19 10:05:05 -07:00
android-build.sh: exit with return code 1 if the NDK is not present
This commit is contained in:
parent
6499766fb6
commit
c6506e6441
@ -10,7 +10,7 @@ export NDK_API_VERSION_COMPAT=$(echo "$NDK_PLATFORM_COMPAT" | sed 's/^android-//
|
|||||||
if [ -z "$ANDROID_NDK_HOME" ]; then
|
if [ -z "$ANDROID_NDK_HOME" ]; then
|
||||||
echo "You should probably set ANDROID_NDK_HOME to the directory containing"
|
echo "You should probably set ANDROID_NDK_HOME to the directory containing"
|
||||||
echo "the Android NDK"
|
echo "the Android NDK"
|
||||||
exit
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -f ./configure ]; then
|
if [ ! -f ./configure ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user