[Android] buildsystem: avoid using a tuple for library prefix

Steve Lhomme git at videolan.org
Tue Jun 24 10:32:39 UTC 2025


vlc-android | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Jun 19 09:56:48 2025 +0200| [249b4dae95951a9169c88a70b769481153c5efc5] | committer: Steve Lhomme

buildsystem: avoid using a tuple for library prefix

It's an autotool thing that it not standard in other build systems. And the Android triplets don't have an easy name to figure out.

The native libraries built depend on the CPU architecture and the Android target they are built for.

> https://code.videolan.org/videolan/vlc-android/commit/249b4dae95951a9169c88a70b769481153c5efc5
---

 buildsystem/compile-medialibrary.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/buildsystem/compile-medialibrary.sh b/buildsystem/compile-medialibrary.sh
index 9189d14ae6..a5f50e5833 100755
--- a/buildsystem/compile-medialibrary.sh
+++ b/buildsystem/compile-medialibrary.sh
@@ -41,7 +41,7 @@ if [ ! -d "${SRC_DIR}/medialibrary" ]; then
   mkdir "${SRC_DIR}/medialibrary"
 fi
 
-MEDIALIBRARY_PREFIX="${SRC_DIR}/medialibrary/prefix/${TARGET_TUPLE}"
+MEDIALIBRARY_PREFIX="${SRC_DIR}/medialibrary/prefix/android-${ANDROID_API}-${ANDROID_ABI}"
 
 ##########
 # SQLITE #



More information about the Android mailing list