summaryrefslogtreecommitdiff
path: root/platform/java/Makefile
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2016-11-16 03:44:48 +0800
committerSebastian Rasmussen <sebras@gmail.com>2016-11-17 01:19:11 +0800
commitac6ebbe38e6edb6074b1b73707770a9a4e9979b8 (patch)
tree0a44d592440eba38b80fc38ded3bf0675f83cf87 /platform/java/Makefile
parentcdcbbde9371c6e5468b6fe0f8f7d7d0b4c550fcf (diff)
downloadmupdf-ac6ebbe38e6edb6074b1b73707770a9a4e9979b8.tar.xz
Build Java viewer with libcrypto support if available.
Diffstat (limited to 'platform/java/Makefile')
-rw-r--r--platform/java/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/platform/java/Makefile b/platform/java/Makefile
index 7b4ea380..eb957663 100644
--- a/platform/java/Makefile
+++ b/platform/java/Makefile
@@ -15,9 +15,11 @@ JAVA_CFLAGS := \
-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 \
- $(shell pkg-config --cflags freetype2)
+ $(shell pkg-config --cflags freetype2) \
+ $(shell pkg-config --cflags libcrypto)
JAVA_LIBS := \
$(shell pkg-config --libs freetype2) \
+ $(shell pkg-config --libs libcrypto) \
-lz
endif