| 1 | = Changes to libCurl Project File = |
| 2 | |
| 3 | == Release/x86 == |
| 4 | |
| 5 | {{{ |
| 6 | #!diff |
| 7 | --- "a/curl\\lib\\Makefile.vc10.orig" |
| 8 | +++ "b/curl\\lib\\Makefile.vc10" |
| 9 | @@ -108,15 +108,15 @@ CCDEBUG = cl.exe /Od /Gm /Zi /D_DEBUG /RTC1 |
| 10 | CFLAGSSSL = /DUSE_OPENSSL /I "$(OPENSSL_PATH)/inc32" /I "$(OPENSSL_PATH)/inc32/openssl" |
| 11 | CFLAGSWINSSL = /DUSE_SCHANNEL |
| 12 | CFLAGSSSH2 = /DUSE_LIBSSH2 /DCURL_DISABLE_LDAP /DHAVE_LIBSSH2 /DHAVE_LIBSSH2_H /DLIBSSH2_WIN32 /DLIBSSH2_LIBRARY /I "$(LIBSSH2_PATH)/include" |
| 13 | -CFLAGSZLIB = /DHAVE_ZLIB_H /DHAVE_ZLIB /DHAVE_LIBZ /I "$(ZLIB_PATH)" |
| 14 | +CFLAGSZLIB = /DHAVE_ZLIB_H /DHAVE_ZLIB /DHAVE_LIBZ /DZLIB_WINAPI /I "$(ZLIB_PATH)" |
| 15 | CFLAGS = /I. /I../include /nologo /W3 /EHsc /DWIN32 /FD /c /DBUILDING_LIBCURL /D_BIND_TO_CURRENT_VCLIBS_VERSION=1 |
| 16 | CFLAGSLIB = /DCURL_STATICLIB |
| 17 | -LNKDLL = link.exe /DLL |
| 18 | -LNKLIB = link.exe /lib |
| 19 | +LNKDLL = link.exe /DLL /debug /release |
| 20 | +LNKLIB = link.exe /lib /debug /release |
| 21 | LFLAGS = /nologo /machine:$(MACHINE) |
| 22 | SSLLIBS = libeay32.lib ssleay32.lib |
| 23 | -ZLIBLIBSDLL = zdll.lib |
| 24 | -ZLIBLIBS = zlib.lib |
| 25 | +ZLIBLIBSDLL = zlib1.lib |
| 26 | +ZLIBLIBS = zlib1.lib |
| 27 | WINLIBS = ws2_32.lib wldap32.lib advapi32.lib |
| 28 | CFLAGS = $(CFLAGS) |
| 29 | }}} |
| 30 | |
| 31 | == Debug/x86 == |
| 32 | |
| 33 | {{{ |
| 34 | #!diff |
| 35 | --- "a/curl\\lib\\Makefile.vc10.orig" |
| 36 | +++ "b/curl\\lib\\Makefile.vc10" |
| 37 | @@ -108,15 +108,15 @@ CCDEBUG = cl.exe /Od /Gm /Zi /D_DEBUG /RTC1 |
| 38 | CFLAGSSSL = /DUSE_OPENSSL /I "$(OPENSSL_PATH)/inc32" /I "$(OPENSSL_PATH)/inc32/openssl" |
| 39 | CFLAGSWINSSL = /DUSE_SCHANNEL |
| 40 | CFLAGSSSH2 = /DUSE_LIBSSH2 /DCURL_DISABLE_LDAP /DHAVE_LIBSSH2 /DHAVE_LIBSSH2_H /DLIBSSH2_WIN32 /DLIBSSH2_LIBRARY /I "$(LIBSSH2_PATH)/include" |
| 41 | -CFLAGSZLIB = /DHAVE_ZLIB_H /DHAVE_ZLIB /DHAVE_LIBZ /I "$(ZLIB_PATH)" |
| 42 | +CFLAGSZLIB = /DHAVE_ZLIB_H /DHAVE_ZLIB /DHAVE_LIBZ /DZLIB_WINAPI /I "$(ZLIB_PATH)" |
| 43 | CFLAGS = /I. /I../include /nologo /W3 /EHsc /DWIN32 /FD /c /DBUILDING_LIBCURL /D_BIND_TO_CURRENT_VCLIBS_VERSION=1 |
| 44 | CFLAGSLIB = /DCURL_STATICLIB |
| 45 | -LNKDLL = link.exe /DLL |
| 46 | -LNKLIB = link.exe /lib |
| 47 | +LNKDLL = link.exe /DLL /debug /release |
| 48 | +LNKLIB = link.exe /lib /debug /release |
| 49 | LFLAGS = /nologo /machine:$(MACHINE) |
| 50 | SSLLIBS = libeay32.lib ssleay32.lib |
| 51 | -ZLIBLIBSDLL = zdll.lib |
| 52 | -ZLIBLIBS = zlib.lib |
| 53 | +ZLIBLIBSDLL = zlib1d.lib |
| 54 | +ZLIBLIBS = zlib1d.lib |
| 55 | WINLIBS = ws2_32.lib wldap32.lib advapi32.lib |
| 56 | CFLAGS = $(CFLAGS) |
| 57 | }}} |
| 58 | |
| 59 | == Release/x64 == |
| 60 | |
| 61 | {{{ |
| 62 | #!diff |
| 63 | --- "a/curl\\lib\\Makefile.vc10.orig" |
| 64 | +++ "b/curl\\lib\\Makefile.vc10" |
| 65 | @@ -77,7 +77,7 @@ ZLIB_PATH = ../../zlib-1.2.8 |
| 66 | !ENDIF |
| 67 | |
| 68 | !IFNDEF MACHINE |
| 69 | -MACHINE = X86 |
| 70 | +MACHINE = X64 |
| 71 | !ENDIF |
| 72 | |
| 73 | # USE_WINDOWS_SSPI uses windows libraries to allow NTLM authentication |
| 74 | @@ -108,15 +108,15 @@ CCDEBUG = cl.exe /Od /Gm /Zi /D_DEBUG /RTC1 |
| 75 | CFLAGSSSL = /DUSE_OPENSSL /I "$(OPENSSL_PATH)/inc32" /I "$(OPENSSL_PATH)/inc32/openssl" |
| 76 | CFLAGSWINSSL = /DUSE_SCHANNEL |
| 77 | CFLAGSSSH2 = /DUSE_LIBSSH2 /DCURL_DISABLE_LDAP /DHAVE_LIBSSH2 /DHAVE_LIBSSH2_H /DLIBSSH2_WIN32 /DLIBSSH2_LIBRARY /I "$(LIBSSH2_PATH)/include" |
| 78 | -CFLAGSZLIB = /DHAVE_ZLIB_H /DHAVE_ZLIB /DHAVE_LIBZ /I "$(ZLIB_PATH)" |
| 79 | +CFLAGSZLIB = /DHAVE_ZLIB_H /DHAVE_ZLIB /DHAVE_LIBZ /DZLIB_WINAPI /I "$(ZLIB_PATH)" |
| 80 | CFLAGS = /I. /I../include /nologo /W3 /EHsc /DWIN32 /FD /c /DBUILDING_LIBCURL /D_BIND_TO_CURRENT_VCLIBS_VERSION=1 |
| 81 | CFLAGSLIB = /DCURL_STATICLIB |
| 82 | -LNKDLL = link.exe /DLL |
| 83 | -LNKLIB = link.exe /lib |
| 84 | +LNKDLL = link.exe /DLL /debug /release |
| 85 | +LNKLIB = link.exe /lib /debug /release |
| 86 | LFLAGS = /nologo /machine:$(MACHINE) |
| 87 | SSLLIBS = libeay32.lib ssleay32.lib |
| 88 | -ZLIBLIBSDLL = zdll.lib |
| 89 | -ZLIBLIBS = zlib.lib |
| 90 | +ZLIBLIBSDLL = zlib1.lib |
| 91 | +ZLIBLIBS = zlib1.lib |
| 92 | WINLIBS = ws2_32.lib wldap32.lib advapi32.lib |
| 93 | CFLAGS = $(CFLAGS) |
| 94 | }}} |
| 95 | |
| 96 | == Debug/x64 == |
| 97 | |
| 98 | {{{ |
| 99 | #!diff |
| 100 | --- "a/curl\\lib\\Makefile.vc10.orig" |
| 101 | +++ "b/curl\\lib\\Makefile.vc10" |
| 102 | @@ -77,7 +77,7 @@ ZLIB_PATH = ../../zlib-1.2.8 |
| 103 | !ENDIF |
| 104 | |
| 105 | !IFNDEF MACHINE |
| 106 | -MACHINE = X86 |
| 107 | +MACHINE = X64 |
| 108 | !ENDIF |
| 109 | |
| 110 | # USE_WINDOWS_SSPI uses windows libraries to allow NTLM authentication |
| 111 | @@ -108,15 +108,15 @@ CCDEBUG = cl.exe /Od /Gm /Zi /D_DEBUG /RTC1 |
| 112 | CFLAGSSSL = /DUSE_OPENSSL /I "$(OPENSSL_PATH)/inc32" /I "$(OPENSSL_PATH)/inc32/openssl" |
| 113 | CFLAGSWINSSL = /DUSE_SCHANNEL |
| 114 | CFLAGSSSH2 = /DUSE_LIBSSH2 /DCURL_DISABLE_LDAP /DHAVE_LIBSSH2 /DHAVE_LIBSSH2_H /DLIBSSH2_WIN32 /DLIBSSH2_LIBRARY /I "$(LIBSSH2_PATH)/include" |
| 115 | -CFLAGSZLIB = /DHAVE_ZLIB_H /DHAVE_ZLIB /DHAVE_LIBZ /I "$(ZLIB_PATH)" |
| 116 | +CFLAGSZLIB = /DHAVE_ZLIB_H /DHAVE_ZLIB /DHAVE_LIBZ /DZLIB_WINAPI /I "$(ZLIB_PATH)" |
| 117 | CFLAGS = /I. /I../include /nologo /W3 /EHsc /DWIN32 /FD /c /DBUILDING_LIBCURL /D_BIND_TO_CURRENT_VCLIBS_VERSION=1 |
| 118 | CFLAGSLIB = /DCURL_STATICLIB |
| 119 | -LNKDLL = link.exe /DLL |
| 120 | -LNKLIB = link.exe /lib |
| 121 | +LNKDLL = link.exe /DLL /debug /release |
| 122 | +LNKLIB = link.exe /lib /debug /release |
| 123 | LFLAGS = /nologo /machine:$(MACHINE) |
| 124 | SSLLIBS = libeay32.lib ssleay32.lib |
| 125 | -ZLIBLIBSDLL = zdll.lib |
| 126 | -ZLIBLIBS = zlib.lib |
| 127 | +ZLIBLIBSDLL = zlib1d.lib |
| 128 | +ZLIBLIBS = zlib1d.lib |
| 129 | WINLIBS = ws2_32.lib wldap32.lib advapi32.lib |
| 130 | CFLAGS = $(CFLAGS) |
| 131 | }}} |