File tree 1 file changed +9
-4
lines changed 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -236,14 +236,19 @@ jobs:
236
236
if : env.IS_WINDOWS_MSVC == 'true'
237
237
with :
238
238
msystem : MSYS
239
- install : make autoconf automake libtool
239
+ install : make autoconf automake libtool pkg-config
240
240
# make Windows packages like Clang available in MSYS
241
241
path-type : inherit
242
242
243
- - name : Delete MinGW gmake (MSVC)
243
+ - name : Remove Perl Strawberry installation and MinGW gmake (MSVC)
244
244
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
247
252
248
253
- name : Install Windows packages (MSVC)
249
254
if : env.IS_WINDOWS_MSVC == 'true'
You can’t perform that action at this time.
0 commit comments