$OpenBSD: patch-configure,v 1.2 2003/01/02 18:56:06 lebel Exp $
--- configure.orig	Sun Nov 24 08:17:37 2002
+++ configure	Thu Jan  2 13:50:29 2003
@@ -4297,6 +4297,8 @@ openbsd*)
   version_type=sunos
   need_lib_prefix=no
   need_version=no
+  sys_lib_search_path_spec="/usr/lib"
+  sys_lib_dlsearch_path_spec="/usr/lib /usr/local/lib"
   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
     case "$host_os" in
     openbsd2.[89] | openbsd2.[89].*)
