From 17c01d21a9549392555adec4afb9aff1020425d5 Mon Sep 17 00:00:00 2001 From: Yang Tse <yangsita@gmail.com> Date: Tue, 2 Oct 2007 14:26:04 +0000 Subject: [PATCH] Linking with wldap32.lib needed for Windows LDAP client 32 API support --- lib/msvcproj.head | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/msvcproj.head b/lib/msvcproj.head index 370bdd1c3..cfc7b5aa8 100644 --- a/lib/msvcproj.head +++ b/lib/msvcproj.head @@ -54,7 +54,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 -# ADD LINK32 kernel32.lib ws2_32.lib winmm.lib /nologo /dll /map /debug /machine:I386 /out:"Release/libcurl.dll" +# ADD LINK32 kernel32.lib ws2_32.lib wldap32.lib winmm.lib /nologo /dll /map /debug /machine:I386 /out:"Release/libcurl.dll" !ELSEIF "$(CFG)" == "curllib - Win32 Debug" @@ -81,7 +81,7 @@ BSC32=bscmake.exe # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib ws2_32.lib winmm.lib /nologo /dll /incremental:no /map /debug /machine:I386 /out:"Debug/libcurl.dll" /pdbtype:sept +# ADD LINK32 kernel32.lib ws2_32.lib wldap32.lib winmm.lib /nologo /dll /incremental:no /map /debug /machine:I386 /out:"Debug/libcurl.dll" /pdbtype:sept # SUBTRACT LINK32 /nodefaultlib !ENDIF