summaryrefslogtreecommitdiff
path: root/platform/java/src/com/artifex
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2017-01-18 02:58:10 +0100
committerTor Andersson <tor.andersson@artifex.com>2017-01-23 13:57:04 +0100
commit13788c56859fcd8a8e4999d7553a0864c0176a10 (patch)
tree723d934bb4fde202f3b4513eb3b8d3dd5960c21e /platform/java/src/com/artifex
parentad6807ba2a3fbd1c276ad5797a27ec771aeaf59b (diff)
downloadmupdf-13788c56859fcd8a8e4999d7553a0864c0176a10.tar.xz
android: Add ndk-build makefile to build JNI library for android viewers.
Run 'make android' to invoke ndk-build with the proper arguments. The results are placed in build/android.
Diffstat (limited to 'platform/java/src/com/artifex')
-rw-r--r--platform/java/src/com/artifex/mupdf/fitz/Context.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/java/src/com/artifex/mupdf/fitz/Context.java b/platform/java/src/com/artifex/mupdf/fitz/Context.java
index 7734a274..5ad384db 100644
--- a/platform/java/src/com/artifex/mupdf/fitz/Context.java
+++ b/platform/java/src/com/artifex/mupdf/fitz/Context.java
@@ -16,12 +16,12 @@ public class Context
if (!inited) {
inited = true;
try {
- System.loadLibrary("mupdf_java64");
+ System.loadLibrary("mupdf_java");
} catch (UnsatisfiedLinkError e) {
try {
- System.loadLibrary("mupdf_java32");
+ System.loadLibrary("mupdf_java64");
} catch (UnsatisfiedLinkError ee) {
- System.loadLibrary("mupdf_java");
+ System.loadLibrary("mupdf_java32");
}
}
if (initNative() < 0)