$OpenBSD: patch-configure,v 1.2 2005/10/05 08:50:21 espie Exp $
--- configure.orig	Sat Jul 16 12:23:36 2005
+++ configure	Tue Sep 20 23:36:23 2005
@@ -7227,7 +7227,7 @@ if test -z "$aix_libpath"; then aix_libp
       else
        case $host_os in
 	 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
-	   archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+	   archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $compiler_flags'
 	   hardcode_libdir_flag_spec='-R$libdir'
 	   ;;
 	 *)
