aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Makefile.m324
-rw-r--r--src/Makefile.m324
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)"