diff options
Diffstat (limited to '.github/actions/check-runtime-library/action.yml')
-rw-r--r-- | .github/actions/check-runtime-library/action.yml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/actions/check-runtime-library/action.yml b/.github/actions/check-runtime-library/action.yml index 3025334..9a572b8 100644 --- a/.github/actions/check-runtime-library/action.yml +++ b/.github/actions/check-runtime-library/action.yml @@ -121,7 +121,12 @@ runs: $windows_required = @('KERNEL32.dll') if ($env:CI_MINGW) { - $windows_required += 'msvcrt.dll' + if ($env:CI_HOST_WINDOWS) { + # This is only true for windows-2022 images. + $windows_required += 'ucrtbase.dll' + } else { + $windows_required += 'msvcrt.dll' + } } # Linking libstdc++ statically on Cygwin is broken, see the # cygwin_static_libstdc++.yml workflow. |