$OpenBSD: patch-configure,v 1.15 2016/04/26 21:09:43 sthen Exp $

Workaround libpthread bug.

--- configure.orig	Tue Apr 26 11:10:48 2016
+++ configure	Tue Apr 26 15:29:56 2016
@@ -26234,7 +26234,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
