[Android] build: fix mips64 build

Thomas Guillem git at videolan.org
Tue Aug 30 13:13:35 CEST 2016


vlc-android | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Aug 30 13:10:10 2016 +0200| [d1eb581b72b5b5b3747ac27f809e9d55b229d4b9] | committer: Thomas Guillem

build: fix mips64 build

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

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

diff --git a/compile-libvlc.sh b/compile-libvlc.sh
index 78f7e83..bcae273 100755
--- a/compile-libvlc.sh
+++ b/compile-libvlc.sh
@@ -374,7 +374,7 @@ if [ ${ANDROID_ABI} = "armeabi-v7a" ]; then
         VLC_LDFLAGS="${VLC_LDFLAGS} -Wl,--fix-cortex-a8"
 fi
 NDK_LIB_DIR="${NDK_TOOLCHAIN_DIR}/${TARGET_TUPLE}/lib"
-if [ "${PLATFORM_SHORT_ARCH}" = "x86_64" ];then
+if [ "${PLATFORM_SHORT_ARCH}" = "x86_64" -o "${PLATFORM_SHORT_ARCH}" = "mips64" ];then
     NDK_LIB_DIR="${NDK_LIB_DIR}64"
 fi
 if [ "${ANDROID_ABI}" = "armeabi-v7a" ];then



More information about the Android mailing list