[Android] build: no iomx for 64bits
Thomas Guillem
git at videolan.org
Thu Oct 9 14:32:56 CEST 2014
vlc-ports/android | branch: tv | Thomas Guillem <tom at gllm.fr> | Wed Oct 8 18:25:38 2014 +0200| [070f942fe52a0106391f09076ba9d2da054e50e7] | committer: Geoffrey Métais
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=070f942fe52a0106391f09076ba9d2da054e50e7
---
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