$OpenBSD: patch-ltmain_sh,v 1.2 2005/05/16 17:44:02 robert Exp $
--- ltmain.sh.orig	Tue Oct 26 12:02:24 2004
+++ ltmain.sh	Mon May 16 16:51:53 2005
@@ -1802,6 +1802,7 @@ EOF
     newdependency_libs=
     newlib_search_path=
     need_relink=no # whether we're linking any uninstalled libtool libraries
+    need_version=no
     notinst_deplibs= # not-installed libtool libraries
     notinst_path= # paths that contain not-installed libtool libraries
     case $linkmode in
@@ -2272,7 +2273,7 @@ EOF
 	   { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
 	  if test "$installed" = no; then
 	    notinst_deplibs="$notinst_deplibs $lib"
-	    need_relink=yes
+	    need_relink=no
 	  fi
 	  # This is a shared library
 
