summaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2017-01-02 14:03:47 +0100
committerPaul Gardiner <paul.gardiner@artifex.com>2018-01-19 13:52:25 +0000
commit55cf67158b926589bee4ea2421b4acc46e6f9844 (patch)
tree7e46ddaa96582adcf9d998dfc9dae9dfb306f954 /Makerules
parent79aca97f74ebf4a9971ffbc02bebf36de4c475fc (diff)
downloadmupdf-55cf67158b926589bee4ea2421b4acc46e6f9844.tar.xz
Update use of openssl for signature support, from 1.0.1e to 1.1.0g
The openssl-version check within Makerules has been updated to ensure we include signature support only when 1.0.1u or later is available. 1.0.1u is the version at which the API changes which necessitated this commit were introduced.
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makerules b/Makerules
index 5b475a9f..4d5ecfda 100644
--- a/Makerules
+++ b/Makerules
@@ -97,7 +97,7 @@ HAVE_GLUT := yes
SYS_GLUT_CFLAGS :=
SYS_GLUT_LIBS := -lglut -lGL
-ifeq "$(shell pkg-config --exists 'libcrypto <= 1.0.1t' && echo yes)" "yes"
+ifeq "$(shell pkg-config --exists 'libcrypto >= 1.1.0' && echo yes)" "yes"
HAVE_LIBCRYPTO := yes
SYS_LIBCRYPTO_CFLAGS := -DHAVE_LIBCRYPTO $(shell pkg-config --cflags libcrypto)
SYS_LIBCRYPTO_LIBS := $(shell pkg-config --libs libcrypto)