1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

makefile.m32: add crypt32 for winssl builds

Dependency added by 6cabd78

Closes #849
This commit is contained in:
Viktor Szakats 2016-06-01 10:35:38 +02:00 committed by Daniel Stenberg
parent 31c521b047
commit 55ab64ed1a
2 changed files with 8 additions and 0 deletions

View File

@ -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)"

View File

@ -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)"