From 7ca081a488b56f67f859396ae0ed75722d2841b9 Mon Sep 17 00:00:00 2001 From: Taner Sener Date: Sun, 21 Aug 2022 23:21:05 +0100 Subject: [PATCH] fix LTS_BUILD_FLAG variable in android build scripts --- scripts/function-android.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/function-android.sh b/scripts/function-android.sh index 92f11c3..add3e56 100755 --- a/scripts/function-android.sh +++ b/scripts/function-android.sh @@ -224,15 +224,15 @@ get_common_includes() { get_common_cflags() { if [[ -n ${FFMPEG_KIT_LTS_BUILD} ]]; then - local LTS_BUILD__FLAG="-DFFMPEG_KIT_LTS " + local LTS_BUILD_FLAG="-DFFMPEG_KIT_LTS " fi case ${DETECTED_NDK_VERSION} in 23*) - echo "-fstrict-aliasing -DANDROID_NDK -fPIC -DANDROID ${LTS_BUILD__FLAG}-D__ANDROID__ -D__ANDROID_MIN_SDK_VERSION__=${API}" + echo "-fstrict-aliasing -DANDROID_NDK -fPIC -DANDROID ${LTS_BUILD_FLAG}-D__ANDROID__ -D__ANDROID_MIN_SDK_VERSION__=${API}" ;; *) - echo "-fno-integrated-as -fstrict-aliasing -DANDROID_NDK -fPIC -DANDROID ${LTS_BUILD__FLAG}-D__ANDROID__ -D__ANDROID_API__=${API}" + echo "-fno-integrated-as -fstrict-aliasing -DANDROID_NDK -fPIC -DANDROID ${LTS_BUILD_FLAG}-D__ANDROID__ -D__ANDROID_API__=${API}" ;; esac }