$OpenBSD: patch-configure,v 1.3 2009/07/17 10:45:05 sthen Exp $
--- configure.orig	Mon Oct  8 14:04:50 2007
+++ configure	Mon Mar 17 22:26:24 2008
@@ -23126,7 +23126,7 @@ fi
 	echo "$as_me:$LINENO: checking for pthread_mutex_lock in -lpthread " >&5
 echo $ECHO_N "checking for pthread_mutex_lock in -lpthread ... $ECHO_C" >&6
 ac_save_LIBS="$LIBS"
-LIBS="-lpthread  $LIBS"
+LIBS="-pthread  $LIBS"
 
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
@@ -23187,7 +23187,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = ye
 echo "$as_me:$LINENO: result: yes" >&5
 echo "${ECHO_T}yes" >&6
 
-	    LIBS="$LIBS -lpthread"
+	    LIBS="$LIBS -pthread"
 	    found_lib=true
 
 else
