Fix CI Windows build

pthread.h has changed path in recent msys2 builds.
This commit is contained in:
Giovanni Bajo 2022-03-19 01:19:41 +01:00 committed by Simon Eriksson
parent d386930fa2
commit aa32804889

View file

@ -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}