From aa32804889ab23c3e9fc0b5afefdee2a8d5e1cb3 Mon Sep 17 00:00:00 2001 From: Giovanni Bajo Date: Sat, 19 Mar 2022 01:19:41 +0100 Subject: [PATCH] Fix CI Windows build pthread.h has changed path in recent msys2 builds. --- .github/workflows/msys2-windows.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/msys2-windows.yml b/.github/workflows/msys2-windows.yml index aff3cc9..745d257 100644 --- a/.github/workflows/msys2-windows.yml +++ b/.github/workflows/msys2-windows.yml @@ -56,7 +56,7 @@ jobs: - name: Correct pthread to allow static shell: msys2 {0} run: | - sed -z 's/#else\n#define WINPTHREAD_API __declspec(dllimport)/#else\n#define WINPTHREAD_API/' /mingw64/x86_64-w64-mingw32/include/pthread.h + sed -z 's/#else\n#define WINPTHREAD_API __declspec(dllimport)/#else\n#define WINPTHREAD_API/' /mingw64/include/pthread.h - name: Build iconv static lib shell: msys2 {0}