summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2016-07-05 23:20:35 +0800
committerSebastian Rasmussen <sebras@gmail.com>2016-07-05 23:21:32 +0800
commit82a12b503d3382b82996705599959329ff8306d0 (patch)
tree94388cab65bd926dde54362a7c2d5bcaf3d04993
parentd42362b328019e106b1b6bfb267ada7844158b6e (diff)
downloadmupdf-82a12b503d3382b82996705599959329ff8306d0.tar.xz
Fix Java makefile to link to system freetype library.
-rw-r--r--platform/java/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/platform/java/Makefile b/platform/java/Makefile
index fc889c1a..32d08dd7 100644
--- a/platform/java/Makefile
+++ b/platform/java/Makefile
@@ -11,9 +11,11 @@ JAVA_CFLAGS := \
-I /usr/lib/jvm/java-7-openjdk-i386/include \
-I /usr/lib/jvm/java-7-openjdk-i386/include/linux \
-I /usr/lib/jvm/java-7-openjdk-amd64/include \
- -I /usr/lib/jvm/java-7-openjdk-amd64/include/linux
+ -I /usr/lib/jvm/java-7-openjdk-amd64/include/linux \
+ $(shell pkg-config --cflags freetype2)
JAVA_LIBS := \
- $(shell pkg-config --cflags freetype2) -lz
+ $(shell pkg-config --libs freetype2) \
+ -lz
endif
default: $(MUPDF_JAVA) libmupdf.jar