--- kvazaar-2.3.2-orig/m4/ax_pthread.m4	2025-09-17 12:07:49.000000000 +0200
+++ kvazaar-2.3.2/m4/ax_pthread.m4	2025-09-18 10:24:12.222966700 +0200
@@ -262,7 +262,7 @@
         # ignore this macro, third-party headers might not.)
 
         PTHREAD_CFLAGS=
-        PTHREAD_LIBS="-pthread"
+        PTHREAD_LIBS="-lpthread"
 
         ax_pthread_ok=yes
 
