mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 08:37:13 +09:00
Abort if NDK_PLATFORM is empty
This commit is contained in:
@@ -60,6 +60,10 @@ fi
|
||||
--prefix="${PREFIX}" \
|
||||
--with-sysroot="${TOOLCHAIN_DIR}/sysroot" || exit 1
|
||||
|
||||
if [ -z "$NDK_PLATFORM" ]; then
|
||||
echo "Aborting"
|
||||
exit 1
|
||||
fi
|
||||
if [ "$NDK_PLATFORM" != "$NDK_PLATFORM_COMPAT" ]; then
|
||||
grep -E '^#define ' config.log | sort -u >config-def-compat.log
|
||||
echo
|
||||
|
||||
Reference in New Issue
Block a user