summaryrefslogtreecommitdiff
path: root/android/jni/Core.mk
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2012-10-09 16:10:35 +0100
committerRobin Watts <robin.watts@artifex.com>2012-10-10 13:01:41 +0100
commit0567433564717b0cc34efde669b7e7489e00d07c (patch)
treec885386b539f42bad2457be9cf14bb7a90c04e12 /android/jni/Core.mk
parentb674a68e91824e82f2930f47a4ee33ef2e66f5b0 (diff)
downloadmupdf-0567433564717b0cc34efde669b7e7489e00d07c.tar.xz
Fix Android build.
Files had been added to project, but not to android makefiles. Thirdparty file paths needed updating in android makefiles. Rebuilding with the latest ndk (r8b) shows a problem due to a bug in the NDK. Work around this.
Diffstat (limited to 'android/jni/Core.mk')
-rw-r--r--android/jni/Core.mk9
1 files changed, 5 insertions, 4 deletions
diff --git a/android/jni/Core.mk b/android/jni/Core.mk
index fcfc3412..f1d309f3 100644
--- a/android/jni/Core.mk
+++ b/android/jni/Core.mk
@@ -4,10 +4,10 @@ include $(CLEAR_VARS)
MY_ROOT := ../..
-OPENJPEG := openjpeg-1.5.0-patched
-JPEG := jpeg-9
-ZLIB := zlib-1.2.7
-FREETYPE := freetype-2.4.10
+OPENJPEG := openjpeg
+JPEG := jpeg
+ZLIB := zlib
+FREETYPE := freetype
LOCAL_CFLAGS += -DARCH_ARM -DARCH_THUMB -DARCH_ARM_CAN_LOAD_UNALIGNED
@@ -66,6 +66,7 @@ LOCAL_SRC_FILES := \
$(MY_ROOT)/fitz/res_store.c \
$(MY_ROOT)/fitz/res_text.c \
$(MY_ROOT)/fitz/stm_buffer.c \
+ $(MY_ROOT)/fitz/stm_comp_buf.c \
$(MY_ROOT)/fitz/stm_open.c \
$(MY_ROOT)/fitz/stm_read.c \
$(MY_ROOT)/draw/draw_affine.c \