]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [openbsd3.3]: Set
authorGary V. Vaughan <gary@gnu.org>
Fri, 24 Sep 2004 10:15:16 +0000 (10:15 +0000)
committerGary V. Vaughan <gary@gnu.org>
Fri, 24 Sep 2004 10:15:16 +0000 (10:15 +0000)
need_version to yes or no depending on the os release.
Reported by Dalibor Topic <robilad@kaffe.org>

ChangeLog
m4/libtool.m4

index 747efc70e9c9fe3349964711918be21680e0d0cc..14d4d1a9978d14d7d03fe0f662ceea8465d79155 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-09-24  Gary V. Vaughan  <gary@gnu.org>
+
+       * 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 <robilad@kaffe.org>
+
 2004-09-23  Gary V. Vaughan  <gary@gnu.org>
 
        * tests/cdemo-conf.test, tests/cdemo-exec.test,
index f5229b2696356e0823157c6f4b63d06e19828b01..49e665dafb1e7ad3604d7daa594b9cfe9abe5121 100644 (file)
@@ -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