--- configure.orig 2022-11-28 08:33:11 UTC
+++ configure
@@ -18327,7 +18327,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
#CCX="${PTHREAD_CC:-CCX}"
if test -z "$PTHREAD_LIBS"; then
- PTHREAD_LIBS=-lpthread
+ PTHREAD_LIBS=-lstdthreads # for call_once and tss_*
fi