MINGW-packages/mingw-w64-kvazaar/001-clang-pthread-fix.patch
2022-01-06 20:22:49 +08:00

14 lines
452 B
Diff

--- kvazaar-2.1.0-orig/m4/ax_pthread.m4 2021-10-13 20:24:01.000000000 +0800
+++ kvazaar-2.1.0/m4/ax_pthread.m4 2022-01-06 20:12:17.727193800 +0800
@@ -261,8 +261,8 @@
# -pthread does define _REENTRANT, and while the Darwin headers
# ignore this macro, third-party headers might not.)
- PTHREAD_CFLAGS="-pthread"
- PTHREAD_LIBS=
+ PTHREAD_CFLAGS=
+ PTHREAD_LIBS="-lpthread"
ax_pthread_ok=yes