Abort if NDK_PLATFORM is empty

This commit is contained in:
Frank Denis
2025-02-20 15:29:58 +01:00
parent b4f1449d89
commit c01ba042a2
+4
View File
@@ -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