summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2018-07-11 12:23:52 +0200
committerTor Andersson <tor.andersson@artifex.com>2018-08-10 12:09:33 +0200
commit37ed199fcebc73954e694b44033aeca4ab8a417f (patch)
tree22ae28e8efca1429704d1b9aad8eb4cfcbbabb11 /Makefile
parent09f2e173850e011e6390c49a4f761e87dd87ffba (diff)
downloadmupdf-37ed199fcebc73954e694b44033aeca4ab8a417f.tar.xz
Use stubs instead of conditional compile with HAVE_LIBCRYPTO.
The macro is only set when building the pkcs7-helper library, so cannot be used by client code. Build stub functions when compiling the pkcs7-openssl helper library without libcrypto.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index a97610fe..9bfd68bf 100644
--- a/Makefile
+++ b/Makefile
@@ -123,9 +123,7 @@ THREAD_SRC := source/helpers/mu-threads/mu-threads.c
THREAD_OBJ := $(THREAD_SRC:%.c=$(OUT)/%.o)
PKCS7_SRC := source/helpers/pkcs7/pkcs7-check.c
-ifeq ($(HAVE_LIBCRYPTO),yes)
- PKCS7_SRC += source/helpers/pkcs7/pkcs7-openssl.c
-endif
+PKCS7_SRC += source/helpers/pkcs7/pkcs7-openssl.c
PKCS7_OBJ := $(PKCS7_SRC:%.c=$(OUT)/%.o)
# --- Generated embedded font files ---