mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
makefile.m32: add missing libs for static -winssl-ssh2 builds
Bug: https://github.com/curl/curl/pull/693
This commit is contained in:
parent
81bdd85318
commit
6c7a5b9603
@ -217,6 +217,11 @@ ifdef SSH2
|
|||||||
INCLUDES += -I"$(LIBSSH2_PATH)/include" -I"$(LIBSSH2_PATH)/win32"
|
INCLUDES += -I"$(LIBSSH2_PATH)/include" -I"$(LIBSSH2_PATH)/win32"
|
||||||
CFLAGS += -DUSE_LIBSSH2 -DHAVE_LIBSSH2_H
|
CFLAGS += -DUSE_LIBSSH2 -DHAVE_LIBSSH2_H
|
||||||
DLL_LIBS += -L"$(LIBSSH2_PATH)/win32" -lssh2
|
DLL_LIBS += -L"$(LIBSSH2_PATH)/win32" -lssh2
|
||||||
|
ifdef WINSSL
|
||||||
|
ifndef DYN
|
||||||
|
DLL_LIBS += -lbcrypt -lcrypt32
|
||||||
|
endif
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
ifdef SSL
|
ifdef SSL
|
||||||
ifndef OPENSSL_INCLUDE
|
ifndef OPENSSL_INCLUDE
|
||||||
|
@ -238,6 +238,11 @@ endif
|
|||||||
ifdef SSH2
|
ifdef SSH2
|
||||||
CFLAGS += -DUSE_LIBSSH2 -DHAVE_LIBSSH2_H
|
CFLAGS += -DUSE_LIBSSH2 -DHAVE_LIBSSH2_H
|
||||||
curl_LDADD += -L"$(LIBSSH2_PATH)/win32" -lssh2
|
curl_LDADD += -L"$(LIBSSH2_PATH)/win32" -lssh2
|
||||||
|
ifdef WINSSL
|
||||||
|
ifndef DYN
|
||||||
|
curl_LDADD += -lbcrypt -lcrypt32
|
||||||
|
endif
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
ifdef SSL
|
ifdef SSL
|
||||||
ifndef OPENSSL_INCLUDE
|
ifndef OPENSSL_INCLUDE
|
||||||
|
Loading…
Reference in New Issue
Block a user