Skip to content

CI: Fix vs2017-x64 CI's pkg-config build

Chun-wei Fan requested to merge fix-msvc-ci into main

Hi,

This attempts to fix up the build of pkg-config during the CI job so that things won't choke if the GNU tools are in the Windows CI system %PATH%, as having the GNU tools in the %PATH% will make the GNU's version of mkdir (and so rmdir) override the version that is built into the Windows cmd.exe shells, which will cause trouble.

To fix this, patch pkg-config's NMake Makefiles to use md (and rd) instead--this ideally should be made upstream but it seems that pkg-config isn't very actively updated nowadays.

Fixes issue #1020 (closed).

With blessings, thank you!

Merge request reports