[Android] build: fix libvlcjni.so library path

Victorien Le Couviour--Tuffet git at videolan.org
Tue Oct 23 17:26:47 CEST 2018


vlc-android | branch: 4.0 | Victorien Le Couviour--Tuffet <victorien.lecouviour.tuffet at gmail.com> | Mon Sep 24 00:19:13 2018 +0200| [66a54e4f672a0ad4944d8866caa19c07a54aacb4] | committer: Thomas Guillem

build: fix libvlcjni.so library path

> https://code.videolan.org/videolan/vlc-android/commit/66a54e4f672a0ad4944d8866caa19c07a54aacb4
---

 compile-libvlc.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/compile-libvlc.sh b/compile-libvlc.sh
index 1e6dddf4d..23a0e5c24 100755
--- a/compile-libvlc.sh
+++ b/compile-libvlc.sh
@@ -399,6 +399,8 @@ fi
 NDK_LIB_DIR="${NDK_TOOLCHAIN_DIR}/${TARGET_TUPLE}/lib"
 if [ "${PLATFORM_SHORT_ARCH}" = "x86_64" ];then
     NDK_LIB_DIR="${NDK_LIB_DIR}64"
+elif [ "${PLATFORM_SHORT_ARCH}" = "arm" ]; then
+    NDK_LIB_DIR="${NDK_LIB_DIR}/armv7-a"
 fi
 
 EXTRA_LDFLAGS="${EXTRA_LDFLAGS} -L${NDK_LIB_DIR} -lc++abi -lc++_static"



More information about the Android mailing list