aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-06-22 11:07:05 +0200
committerDaniel Stenberg <daniel@haxx.se>2016-06-22 11:08:47 +0200
commit7530ef5c15f6d90e8a3d043cf59a46225e8ccdd7 (patch)
tree91f34ee584bdbaa63f304eef887923cb85e8658f /lib
parent66c447e51e7c066f2ef425e912cee5157c363d55 (diff)
Makefile.vc: link with crypt32.lib for winssl builds
Necessary since 6cabd78531f Fixes #853
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.vc65
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Makefile.vc6 b/lib/Makefile.vc6
index 824bb4e87..e783e3ae2 100644
--- a/lib/Makefile.vc6
+++ b/lib/Makefile.vc6
@@ -115,6 +115,7 @@ LNKDLL = link.exe /DLL
LNKLIB = link.exe /lib
LFLAGS = /nologo /machine:$(MACHINE)
SSLLIBS = libeay32.lib ssleay32.lib
+WINSSLLIBS = crypt32.lib
ZLIBLIBSDLL = zdll.lib
ZLIBLIBS = zlib.lib
WINLIBS = ws2_32.lib wldap32.lib advapi32.lib
@@ -176,7 +177,7 @@ CFGSET = TRUE
TARGET = $(LIBCURL_STA_LIB_REL)
DIROBJ = $(CFG)
LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"
-LNK = $(LNKLIB) /out:$(DIROBJ)\$(TARGET)
+LNK = $(LNKLIB) $(WINSSLLIBS) /out:$(DIROBJ)\$(TARGET)
CC = $(CCNODBG) $(RTLIB) $(CFLAGSWINSSL) $(CFLAGSLIB)
CFGSET = TRUE
!ENDIF
@@ -213,7 +214,7 @@ CFGSET = TRUE
TARGET = $(LIBCURL_STA_LIB_REL)
DIROBJ = $(CFG)
LFLAGSZLIB = "/LIBPATH:$(ZLIB_PATH)"
-LNK = $(LNKLIB) $(LFLAGSZLIB) /out:$(DIROBJ)\$(TARGET)
+LNK = $(LNKLIB) $(LFLAGSZLIB) $(WINSSLLIBS) /out:$(DIROBJ)\$(TARGET)
CC = $(CCNODBG) $(RTLIB) $(CFLAGSWINSSL) $(CFLAGSZLIB) $(CFLAGSLIB)
CFGSET = TRUE
!ENDIF