]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4 (osf[345]): Append $major to soname_spec.
authorRainer Orth <ro@TechFak.Uni-Bielefeld.de>
Mon, 9 Sep 2002 18:27:14 +0000 (18:27 +0000)
committerRobert Boehne <rboehne@gnu.org>
Mon, 9 Sep 2002 18:27:14 +0000 (18:27 +0000)
Reflect this in library_names_spec.
* ltmain.in (osf): Prefix $major with '.' for use as extension.

ChangeLog
libtool.m4
ltmain.in

index 39d1b17638be4979ccd3937eb86ec2991315d13c..3854d5a7241f4330c70f5167d82c915e20b1dd78 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2002-09-09  Rainer Orth  <ro@TechFak.Uni-Bielefeld.de>
+
+       * libtool.m4 (osf[345]): Append $major to soname_spec.
+       Reflect this in library_names_spec.
+       * ltmain.in (osf): Prefix $major with '.' for use as extension.
+
 2002-06-26  Bob Friesenhahn  <bfreisen@simple.dallas.tx.us>
 
        * libtool.m4 (sys_lib_search_path_spec):  Remove extraneous '='
index f21736242d6ceac8290a46e9b31730ae10012a6b..2ad8e7cd3db5fc2ab99719165bd7e1c504fe41ef 100644 (file)
@@ -2239,8 +2239,8 @@ os2*)
 osf3* | osf4* | osf5*)
   version_type=osf
   need_version=no
-  soname_spec='${libname}${release}.so'
-  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
+  soname_spec='${libname}${release}.so$major'
+  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
   shlibpath_var=LD_LIBRARY_PATH
   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
index 556e8176510266a1be101680a925798bfb56634f..d06b8f726cf07559b31f866b7e1092da744e4c9b 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -2323,7 +2323,7 @@ compiler."
          ;;
 
        osf)
-         major=`expr $current - $age`
+         major=.`expr $current - $age`
          versuffix=".$current.$age.$revision"
          verstring="$current.$age.$revision"