$NetBSD: patch-configure,v 1.13 2025/05/09 14:05:32 adam Exp $ If pthread_create() is detected, add link against libpthread. --- configure.orig 2025-05-09 14:01:46.698012904 +0000 +++ configure @@ -16677,6 +16677,7 @@ printf "%s\n" "$ac_cv_lib_pthread_pthrea if test "x$ac_cv_lib_pthread_pthread_create" = xyes then : have_pthread=yes + LIBS="-lpthread $LIBS" fi if test "$have_pthread" = yes; then