diff options
author | Viktor Szakats <vszakats@users.noreply.github.com> | 2016-06-01 10:35:38 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-06-01 10:39:13 +0200 |
commit | 55ab64ed1a0472f70a466d5b53c317992c0640c0 (patch) | |
tree | 1aae3c14ee513da36a931efcbad4b5a1591ebe53 | |
parent | 31c521b0470e57125ffcd0f1b0c6edf3b9af96c1 (diff) |
makefile.m32: add crypt32 for winssl builds
Dependency added by 6cabd78
Closes #849
-rw-r--r-- | lib/Makefile.m32 | 4 | ||||
-rw-r--r-- | src/Makefile.m32 | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/lib/Makefile.m32 b/lib/Makefile.m32 index 2142bfc42..522dbd1df 100644 --- a/lib/Makefile.m32 +++ b/lib/Makefile.m32 @@ -258,6 +258,10 @@ ifdef SSL CFLAGS += -DHAVE_OPENSSL_SRP -DUSE_TLS_SRP endif endif +else +ifdef WINSSL + DLL_LIBS += -lcrypt32 +endif endif ifdef ZLIB INCLUDES += -I"$(ZLIB_PATH)" 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)" |