[Android] buildsystem: add the VLC tools to the PATH when building the medialibrary
Steve Lhomme
git at videolan.org
Mon Jul 21 15:28:07 UTC 2025
vlc-android | branch: master | Steve Lhomme <slhomme at matroska.org> | Thu Jul 17 10:20:58 2025 +0200| [def636f1a6ac91ffd9643ae965c00aece6950d15] | committer: Duncan McNamara
buildsystem: add the VLC tools to the PATH when building the medialibrary
It's needed if meson is not in the PATH and vlc was build properly.
> https://code.videolan.org/videolan/vlc-android/commit/def636f1a6ac91ffd9643ae965c00aece6950d15
---
buildsystem/compile-medialibrary.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/buildsystem/compile-medialibrary.sh b/buildsystem/compile-medialibrary.sh
index 4df615b66d..3e8376f714 100755
--- a/buildsystem/compile-medialibrary.sh
+++ b/buildsystem/compile-medialibrary.sh
@@ -180,6 +180,8 @@ fi
printf 'cpu = '"'"'%s'"'"'\n' "${MESON_CPU}" >&3
if [ ! -d "build-android-$ANDROID_ABI/" ] || [ ! -f "build-android-$ANDROID_ABI/build.ninja" ]; then
+ export PATH="$LIBVLCJNI_SRC_DIR/vlc/extras/tools/build/bin:$PATH"
+
PKG_CONFIG_LIBDIR="$LIBVLCJNI_SRC_DIR/vlc/build-android-${TARGET_TUPLE}/install/lib/pkgconfig" \
PKG_CONFIG_PATH="${MEDIALIBRARY_PREFIX}/lib/pkgconfig:$LIBVLCJNI_SRC_DIR/vlc/contrib/$TARGET_TUPLE/lib/pkgconfig/" \
meson setup \
More information about the Android
mailing list