[Android] build: no iomx for 64bits

Thomas Guillem git at videolan.org
Thu Oct 9 13:08:38 CEST 2014


vlc-ports/android | branch: master | Thomas Guillem <tom at gllm.fr> | Wed Oct  8 18:25:38 2014 +0200| [90660e7bdb3b79acc55e82665ceaab85a521374f] | committer: Jean-Baptiste Kempf

build: no iomx for 64bits

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 Makefile |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Makefile b/Makefile
index 3832f86..cb83466 100644
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,12 @@ JAVA_SOURCES=\
 	$(SRC)/src/org/videolan/libvlc/*.java
 JNI_SOURCES=$(SRC)/jni/*.c $(SRC)/jni/*.h
 LIBVLC_LIBS = libvlcjni
+
+ifneq ($(HAVE_64),1)
+# Can't link with 32bits symbols.
+# Not a problem since MediaCodec should work on 64bits devices (android-L)
 LIBVLC_LIBS += libiomx-ics libiomx-hc libiomx-gingerbread
+endif
 
 # The following iomx libs are used for DEBUG only.
 # (after android Jelly Bean, we prefer to use MediaCodec instead of iomx)



More information about the Android mailing list