$OpenBSD: patch-config_tests_unix_compile_test,v 1.2 2006/12/06 08:32:44 espie Exp $
--- config.tests/unix/compile.test.orig	Mon Nov 27 18:26:20 2006
+++ config.tests/unix/compile.test	Wed Dec  6 01:16:12 2006
@@ -34,6 +34,9 @@ while [ "$#" -gt 0 ]; do
     -f*)
         CXXFLAGS="$CXXFLAGS $PARAM"
         ;;
+    -pthread*)
+	LIBPATH="$LIBPATH $PARAM"
+    	;;
     *)  ;;
     esac
     shift
