aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.m32
diff options
context:
space:
mode:
authorViktor Szakats <vszakats@users.noreply.github.com>2016-06-01 10:35:38 +0200
committerDaniel Stenberg <daniel@haxx.se>2016-06-01 10:39:13 +0200
commit55ab64ed1a0472f70a466d5b53c317992c0640c0 (patch)
tree1aae3c14ee513da36a931efcbad4b5a1591ebe53 /src/Makefile.m32
parent31c521b0470e57125ffcd0f1b0c6edf3b9af96c1 (diff)
makefile.m32: add crypt32 for winssl builds
Dependency added by 6cabd78 Closes #849
Diffstat (limited to 'src/Makefile.m32')
-rw-r--r--src/Makefile.m324
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile.m32 b/src/Makefile.m32
index 076fc5e35..40852e573 100644
--- a/src/Makefile.m32
+++ b/src/Makefile.m32
@@ -274,6 +274,10 @@ ifdef SSL
INCLUDES += -I"$(OPENSSL_INCLUDE)"
CFLAGS += -DUSE_OPENSSL
curl_LDADD += -L"$(OPENSSL_LIBPATH)" $(OPENSSL_LIBS)
+else
+ifdef WINSSL
+ curl_LDADD += -lcrypt32
+endif
endif
ifdef ZLIB
INCLUDES += -I"$(ZLIB_PATH)"