$OpenBSD$
--- configure.orig	Wed May  5 05:05:01 2010
+++ configure	Sun Jun 27 14:59:45 2010
@@ -12172,7 +12172,7 @@ if test "$ac_res" != no; then :
 
 fi
 
-PTHREAD_LIBS="${LIBS}"
+PTHREAD_LIBS="-pthread"
 LIBS="${save_LIBS}"
 
 
