summaryrefslogtreecommitdiff
path: root/Makethird
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2016-11-16 02:40:03 +0800
committerSebastian Rasmussen <sebras@gmail.com>2016-11-17 01:19:11 +0800
commit2840bc523e71ffcadfc1394994b513b672d4dbe8 (patch)
treed986b77e63cd2e5d4f27cae9b1eb6e6b788464fa /Makethird
parent9b5735e5890f20e6345965c7f55e8f07505648de (diff)
downloadmupdf-2840bc523e71ffcadfc1394994b513b672d4dbe8.tar.xz
Detect openssl to support https when using curl.
Diffstat (limited to 'Makethird')
-rw-r--r--Makethird3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makethird b/Makethird
index a4c15dde..3faca52f 100644
--- a/Makethird
+++ b/Makethird
@@ -640,6 +640,9 @@ $(CURL_OUT):
CRL_CFLAGS := -DHAVE_CONFIG_H -DBUILDING_LIBCURL -DCURL_STATICLIB \
-DCURL_DISABLE_LDAP -I$(CURL_DIR)/include -I$(CURL_DIR)/lib
+ifeq "$(HAVE_OPENSSL_SSL)" "yes"
+CRL_CFLAGS += -DUSE_OPENSSL
+endif
$(CURL_OUT)/%.o: $(CURL_DIR)/lib/%.c | $(CURL_OUT)
$(CC_CMD) $(CRL_CFLAGS)