$OpenBSD: patch-configure,v 1.3 2006/01/07 09:58:39 brad Exp $ --- configure.orig Sun Dec 18 17:13:49 2005 +++ configure Thu Jan 5 18:11:30 2006 @@ -9282,6 +9282,13 @@ if test "$GCC" = yes; then else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi +tmp="$sys_lib_search_path_spec" +sys_lib_search_path_spec="" +for i in $tmp +do + test -d $i && sys_lib_search_path_spec="$sys_lib_search_path_spec $i" +done + need_lib_prefix=unknown hardcode_into_libs=no