[Android] [PATCH 2/4] build: no iomx for 64bits

Thomas Guillem tom at gllm.fr
Wed Oct 8 18:25:38 CEST 2014


---
 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)
-- 
2.1.0



More information about the Android mailing list