[Android] [PATCH 11/11] Fix libvlcjni.so build - library path

Victorien Le Couviour--Tuffet victorien.lecouviour.tuffet at gmail.com
Mon Oct 8 12:06:53 CEST 2018


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

diff --git a/compile-libvlc.sh b/compile-libvlc.sh
index 541306bbb..b35f30010 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"
-- 
2.19.1



More information about the Android mailing list