$OpenBSD: patch-configure,v 1.2 2011/01/04 08:36:11 jasper Exp $
--- configure.orig	Mon Jan  3 21:30:25 2011
+++ configure	Mon Jan  3 21:31:50 2011
@@ -8773,7 +8773,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:
 	     ;;
 	   *)
 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
-	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
+	     hardcode_libdir_flag_spec='${wl}-R$libdir'
 	     ;;
 	  esac
         fi
