From 6c7a5b9603f58c9562bbfe0637540f81fa98d055 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Wed, 2 Mar 2016 03:25:22 +0100 Subject: makefile.m32: add missing libs for static -winssl-ssh2 builds Bug: https://github.com/curl/curl/pull/693 --- src/Makefile.m32 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') 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 -- cgit v1.2.3