From: Ralf Wildenhues Date: Thu, 28 Apr 2005 12:51:17 +0000 (+0000) Subject: * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [openbsd3.3]: Set X-Git-Tag: release-1-5-18~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3600991304c2cb685919090bb13882019745ae39;p=thirdparty%2Flibtool.git * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [openbsd3.3]: Set need_version to yes or no depending on the os release. Missing backport reported by Dalibor Topic . --- diff --git a/ChangeLog b/ChangeLog index 02ecc8d81..d391b2837 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-04-28 Ralf Wildenhues + + * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [openbsd3.3]: Set + need_version to yes or no depending on the os release. + Missing backport reported by Dalibor Topic . + 2005-04-27 Ralf Wildenhues * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [ linux ]: sed 3.02 does diff --git a/libtool.m4 b/libtool.m4 index f4fd9fd5c..fee3c7b5f 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -1573,7 +1573,11 @@ nto-qnx*) openbsd*) version_type=sunos need_lib_prefix=no - need_version=no + # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. + case $host_os in + openbsd3.3 | openbsd3.3.*) need_version=yes ;; + *) need_version=no ;; + esac library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH