diff --git a/lib/Makefile.vc6 b/lib/Makefile.vc6 index a5f5b01260..8d6ce8fec2 100644 --- a/lib/Makefile.vc6 +++ b/lib/Makefile.vc6 @@ -86,9 +86,9 @@ SSLLIBS = libeay32.lib ssleay32.lib ZLIBLIBSDLL= zdll.lib ZLIBLIBS = zlib.lib !IFDEF USEMM_LIBS -WINLIBS = wsock32.lib winmm.lib +WINLIBS = wsock32.lib wldap32.lib winmm.lib !ELSE -WINLIBS = wsock32.lib +WINLIBS = wsock32.lib wldap32.lib CFLAGS = $(CFLAGS) /DWITHOUT_MM_LIB !ENDIF # RSAglue.lib was formerly needed in the SSLLIBS diff --git a/src/Makefile.vc6 b/src/Makefile.vc6 index 8357e50dee..23fb15e321 100644 --- a/src/Makefile.vc6 +++ b/src/Makefile.vc6 @@ -207,8 +207,8 @@ LFLAGS = $(LFLAGS) $(SSL_IMP_LFLAGS) $(ZLIB_LFLAGS) !ENDIF -LINKLIBS = $(LINKLIBS) wsock32.lib winmm.lib -LINKLIBS_DEBUG = $(LINKLIBS_DEBUG) wsock32.lib winmm.lib +LINKLIBS = $(LINKLIBS) wsock32.lib wldap32.lib winmm.lib +LINKLIBS_DEBUG = $(LINKLIBS_DEBUG) wsock32.lib wldap32.lib winmm.lib all : release