From 02be2e5b27ab0fa37ee8caa4e512c48bf27b1521 Mon Sep 17 00:00:00 2001 From: Oscar Benjamin Date: Sun, 2 Aug 2026 13:14:53 +0100 Subject: [PATCH] Bundle libwinpthread.dll in Windows ARM wheels --- bin/cibw_before_all_windows_arm64.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/cibw_before_all_windows_arm64.sh b/bin/cibw_before_all_windows_arm64.sh index 02b602ed..91144f88 100755 --- a/bin/cibw_before_all_windows_arm64.sh +++ b/bin/cibw_before_all_windows_arm64.sh @@ -24,3 +24,7 @@ bin/cibw_before_all_windows.sh \ --patch-ldd \ --patch-immintrin \ # + +# Stage the MinGW threading runtime with the locally built DLLs so that +# delvewheel can find and bundle it from .local/bin. +cp /clangarm64/bin/libwinpthread-1.dll .local/bin/