$OpenBSD: patch-dist_configure,v 1.2 2001/09/07 16:06:08 heko Exp $
--- dist/configure.orig	Mon Jul 31 19:58:18 2000
+++ dist/configure	Fri Aug 31 16:03:44 2001
@@ -1602,7 +1602,6 @@ echo "configure:1601: checking libtool c
 	${CONFIG_SHELL-/bin/sh} $srcdir/ltconfig \
 		--no-verify $srcdir/ltmain.sh \
 		--output=./libtool $host_os \
-		--disable-static \
 	|| { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
 
 	SOSUFFIX=`sed -e '/^library_names_spec=/!d' -e 's/.*\.\([a-zA-Z0-9_]*\).*/\1/' ./libtool`
@@ -1617,7 +1616,7 @@ echo "configure:1601: checking libtool c
 
 	INSTALLER="\$(LIBTOOL) --mode=install cp"
 	POSTLINK="\$(LIBTOOL) --mode=execute true"
-	SOLINK="\$(LIBTOOL) --mode=link ${SAVE_CC} -avoid-version"
+	SOLINK="\$(LIBTOOL) --mode=link ${SAVE_CC} -version-info @DB_VERSION_MAJOR@:@DB_VERSION_MINOR@"
 	SOFLAGS="-rpath \$(libdir)"
 	o=".lo"
 fi
