[Android] Don't build ANW for < 64 bits

Jean-Baptiste Kempf git at videolan.org
Tue Mar 10 12:40:33 CET 2015


vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Mar 10 12:36:34 2015 +0100| [3dc3d51de7bbb2965a9a010e8869a0190a581981] | committer: Jean-Baptiste Kempf

Don't build ANW for < 64 bits

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=3dc3d51de7bbb2965a9a010e8869a0190a581981
---

 compile-libvlc.sh |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/compile-libvlc.sh b/compile-libvlc.sh
index 41b229b..7f174ff 100755
--- a/compile-libvlc.sh
+++ b/compile-libvlc.sh
@@ -602,14 +602,15 @@ VLC_CONTRIB="$VLC_SRC_DIR/contrib/$TARGET_TUPLE"
 
 if [ "${CHROME_OS}" != "1" ];then
     if [ "${HAVE_64}" != 1 ];then
-    # Can't link with 32bits symbols.
-    # Not a problem since MediaCodec should work on 64bits devices (android-21)
-    LIBIOMX_LIBS="libiomx.14 libiomx.13 libiomx.10"
+        # Can't link with 32bits symbols.
+        # Not a problem since MediaCodec should work on 64bits devices (android-21)
+        LIBIOMX_LIBS="libiomx.14 libiomx.13 libiomx.10"
+        LIBANW_LIBS="libanw.10 libanw.13 libanw.14 libanw.18"
     fi
     # (after android Jelly Bean, we prefer to use MediaCodec instead of iomx)
     #LIBIOMX_LIBS="${LIBIOMX_LIBS }libiomx.19 libiomx.18"
 
-    LIBANW_LIBS="libanw.10 libanw.13 libanw.14 libanw.18 libanw.21"
+    LIBANW_LIBS="$LIBANW_LIBS libanw.21"
 fi
 
 echo "Building NDK"



More information about the Android mailing list