$OpenBSD: patch-configure,v 1.13 2015/12/12 16:43:09 sthen Exp $

Workaround libpthread bug.

--- configure.orig	Fri Dec 11 11:37:20 2015
+++ configure	Fri Dec 11 22:11:34 2015
@@ -25590,7 +25590,7 @@ _ACEOF
 
 
 CFLAGS="$CFLAGS $EXTRA_CFLAGS"
-NOPLUGIN_LDFLAGS="-no-undefined"
+NOPLUGIN_LDFLAGS="-no-undefined -lpthread"
 if test "$with_gnu_ld" = yes; then
   NOPLUGIN_LDFLAGS="$NOPLUGIN_LDFLAGS -Wl,--as-needed"
 fi
