diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 0404880b..175029d9 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -67,7 +67,7 @@ jobs: - name: Install vcpkg uses: lukka/run-vcpkg@v11 with: - vcpkgGitCommitId: cd61e1e26a038e82d6550a3ebbe0fbbfe7da78e3 + vcpkgGitCommitId: 8f363bdc11359ede4bc51e5eb32a2617538049c8 runVcpkgInstall: true - name: create $ACE_ROOT/ace/config.h run: | diff --git a/config/zlib.mpb b/config/zlib.mpb index 8edc952e..39083787 100644 --- a/config/zlib.mpb +++ b/config/zlib.mpb @@ -8,14 +8,20 @@ feature(zlib) { $ZLIB_LIBDIR $(ZLIB_ROOT)/lib } + expand(ZLIB_LIBNAME) { + $ZLIB_LIBNAME + libz + } includes += "$(ZLIB_INCDIR)" libpaths += "$(ZLIB_LIBDIR)" macros += ZLIB specific(prop:windows) { - Debug::lit_libs += zd - Release::lit_libs += z + // zlib 1.4 names its MSVC libraries libz, libzd, libzs and libzsd, + // which matches libz with the lib_modifier MPC adds. Set ZLIB_LIBNAME + // to z for older zlib versions that use z, zd, zs and zsd. + libs += $(ZLIB_LIBNAME) } else { lit_libs += z }