diff options
-rw-r--r-- | lib/Makefile.m32 | 5 | ||||
-rw-r--r-- | src/Makefile.m32 | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/lib/Makefile.m32 b/lib/Makefile.m32 index b6d9eb09c..2142bfc42 100644 --- a/lib/Makefile.m32 +++ b/lib/Makefile.m32 @@ -217,6 +217,11 @@ ifdef SSH2 INCLUDES += -I"$(LIBSSH2_PATH)/include" -I"$(LIBSSH2_PATH)/win32" CFLAGS += -DUSE_LIBSSH2 -DHAVE_LIBSSH2_H DLL_LIBS += -L"$(LIBSSH2_PATH)/win32" -lssh2 + ifdef WINSSL + ifndef DYN + DLL_LIBS += -lbcrypt -lcrypt32 + endif + endif endif ifdef SSL ifndef OPENSSL_INCLUDE diff --git a/src/Makefile.m32 b/src/Makefile.m32 index d941da952..076fc5e35 100644 --- a/src/Makefile.m32 +++ b/src/Makefile.m32 @@ -238,6 +238,11 @@ endif ifdef SSH2 CFLAGS += -DUSE_LIBSSH2 -DHAVE_LIBSSH2_H curl_LDADD += -L"$(LIBSSH2_PATH)/win32" -lssh2 + ifdef WINSSL + ifndef DYN + curl_LDADD += -lbcrypt -lcrypt32 + endif + endif endif ifdef SSL ifndef OPENSSL_INCLUDE |