From 329df3a22c1140088e91e830277e918cb1d9cc5b Mon Sep 17 00:00:00 2001 From: Oscar Benjamin Date: Sun, 22 Mar 2026 18:55:54 +0000 Subject: [PATCH] Use msys2 UCRT build for Window DLLs --- .github/workflows/buildwheel.yml | 2 +- bin/cibw_before_all_windows.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/buildwheel.yml b/.github/workflows/buildwheel.yml index 6efc9781..98f71c5f 100644 --- a/.github/workflows/buildwheel.yml +++ b/.github/workflows/buildwheel.yml @@ -21,7 +21,7 @@ jobs: - uses: msys2/setup-msys2@v2.30.0 with: - msystem: mingw64 + msystem: ucrt64 if: ${{ startsWith( matrix.os , 'windows' ) }} # Install pkgconfig on Windows from choco rather than from msys and diff --git a/bin/cibw_before_all_windows.sh b/bin/cibw_before_all_windows.sh index a7a359e5..0fcd4c1e 100755 --- a/bin/cibw_before_all_windows.sh +++ b/bin/cibw_before_all_windows.sh @@ -3,8 +3,8 @@ set -o errexit pacman -S --noconfirm \ - mingw-w64-x86_64-gcc\ - mingw-w64-x86_64-tools-git\ + mingw-w64-ucrt-x86_64-gcc\ + mingw-w64-ucrt-x86_64-tools-git\ m4\ make\ base-devel\