[Android] buildsystem: fix detection of the NDK used
Steve Lhomme
git at videolan.org
Mon Jun 1 12:17:42 UTC 2026
vlc-android | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu May 28 13:42:03 2026 +0200| [bebfecff370bb251d72f419fe74ce0858278d451] | committer: Nicolas Pomepuy
buildsystem: fix detection of the NDK used
Missing from a1ca5b1d5e265181411728c417cc05158f55b3d2.
> https://code.videolan.org/videolan/vlc-android/commit/bebfecff370bb251d72f419fe74ce0858278d451
---
buildsystem/compile.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/buildsystem/compile.sh b/buildsystem/compile.sh
index 9f66fedf23..3e62d0e2bf 100755
--- a/buildsystem/compile.sh
+++ b/buildsystem/compile.sh
@@ -226,7 +226,7 @@ init_local_props() {
total_sdk_count=`grep -c "${sdk_line_start}" "$1"`
good_sdk_count=`grep -c "${sdk_line_start}${android_sdk_regex}\$" "$1"`
# check for lines setting the NDK directory
- ndk_line_start="^ndk\.dir="
+ ndk_line_start="^android\.ndkPath="
total_ndk_count=`grep -c "${ndk_line_start}" "$1"`
good_ndk_count=`grep -c "${ndk_line_start}${android_ndk_regex}\$" "$1"`
# if one of each is found and both match the environment vars, no action needed
More information about the Android
mailing list