Azure CI Windows: Upgrade bundled libcurl to v7.74.0 #3638
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Build steps:
contrib\vstudio\vc14\zlibvc.sln
(static release lib incl. asm, which needs to be built separately, e.g.,cd contrib\masmx64 && bld_ml64.bat
- I've added/safeseh
incontrib\masmx86\bld_ml32.bat
).MSCRT was set to
/MT
, and/GS- /Zl
used for MinGW-based libs compatibility.Includes (
{zconf,zlib}.h
) and lib (zlibstat.{lib,pdb}
) copied toC:\LDC\curl-7.74.0\deps[_x86]
.winbuild\MakefileBuild.vc
:CFLAGS
by/DDONT_USE_RECV_BEFORE_SEND_WORKAROUND
.CFLAGS_LIBCURL_STATIC
by/GS- /Zl
(for MinGW-based libs compatibility...).nmake /f Makefile.vc mode=dll VC=16 WITH_DEVEL=C:\LDC\curl-7.74.0\deps[_x86] WITH_ZLIB=static GEN_PDB=no DEBUG=no MACHINE=x{64,86} RTLIBCFG=static
nmake /f Makefile.vc mode=static VC=16 WITH_DEVEL=C:\LDC\curl-7.74.0\deps[_x86] WITH_ZLIB=static GEN_PDB=no DEBUG=no MACHINE=x{64,86} RTLIBCFG=static
lib
prefix fromlibcurl*.{lib,exp}
filenames.