From: Gary V. Vaughan Date: Fri, 24 Sep 2004 10:15:16 +0000 (+0000) Subject: * m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [openbsd3.3]: Set X-Git-Tag: release-1-9d~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d35a15aeeafd6abe4d6e4bbc0b64732456c983b;p=thirdparty%2Flibtool.git * m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [openbsd3.3]: Set need_version to yes or no depending on the os release. Reported by Dalibor Topic --- diff --git a/ChangeLog b/ChangeLog index 747efc70e..14d4d1a99 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-09-24 Gary V. Vaughan + + * m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [openbsd3.3]: Set + need_version to yes or no depending on the os release. + Reported by Dalibor Topic + 2004-09-23 Gary V. Vaughan * tests/cdemo-conf.test, tests/cdemo-exec.test, diff --git a/m4/libtool.m4 b/m4/libtool.m4 index f5229b269..49e665daf 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -2015,7 +2015,11 @@ newsos6) 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