File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -236,14 +236,19 @@ jobs:
236236 if : env.IS_WINDOWS_MSVC == 'true'
237237 with :
238238 msystem : MSYS
239- install : make autoconf automake libtool
239+ install : make autoconf automake libtool pkg-config
240240 # make Windows packages like Clang available in MSYS
241241 path-type : inherit
242242
243- - name : Delete MinGW gmake (MSVC)
243+ - name : Remove Perl Strawberry installation and MinGW gmake (MSVC)
244244 if : env.IS_WINDOWS_MSVC == 'true'
245- # delete /c/Strawberry/c/bin/gmake built for MinGW that is found on runners, because we must use make built for MSYS
246- run : if GMAKE_PATH=`which gmake`; then rm -f "$GMAKE_PATH"; fi
245+ # C:\Strawberry contains various MinGW libraries and binaries like pkg-config
246+ # that can get picked up by configure/CMake and don't necessarily behave
247+ # correctly when not using a MinGW environment, and more specifically we cannot
248+ # use MinGW gmake but must use MSYS make for correctly handling of Windows paths,
249+ # so we delete everything that could mess up our builds
250+ run : rmdir /S /Q C:\Strawberry
251+ shell : cmd
247252
248253 - name : Install Windows packages (MSVC)
249254 if : env.IS_WINDOWS_MSVC == 'true'
You can’t perform that action at this time.
0 commit comments