From 927dfe8e2eaa86160d3ba12a7e3258fbc322909c Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Fri, 19 Apr 2019 00:54:59 +0200 Subject: [PATCH] Add a warning about headers in Android builds --- dist-build/android-build.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dist-build/android-build.sh b/dist-build/android-build.sh index d98ddead..76917504 100755 --- a/dist-build/android-build.sh +++ b/dist-build/android-build.sh @@ -33,6 +33,12 @@ export CC=${CC:-"${HOST_COMPILER}-clang"} rm -rf "${TOOLCHAIN_DIR}" "${PREFIX}" +echo +echo "Warnings related to headers being present but not usable are due to functions" +echo "that didn't exist in the specified minimum API version level." +echo "They can be safely ignored." +echo + echo if [ "$NDK_PLATFORM" != "$NDK_PLATFORM_COMPAT" ]; then echo "Building for platform [${NDK_PLATFORM}], retaining compatibility with platform [${NDK_PLATFORM_COMPAT}]"