$OpenBSD: patch-config_tests_unix_compile_test,v 1.3 2007/05/22 09:09:32 espie Exp $
--- config.tests/unix/compile.test.orig	Sun May  6 17:54:43 2007
+++ config.tests/unix/compile.test	Sun May 13 16:26:59 2007
@@ -38,6 +38,9 @@ while [ "$#" -gt 0 ]; do
     -m*)
         CXXFLAGS="$CXXFLAGS $PARAM"
         ;;
+    -pthread*)
+	LIBPATH="$LIBPATH $PARAM"
+    	;;
     *)  ;;
     esac
     shift
