ltconfig (osf[345]): Append $major to soname_spec.
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>
Wed, 20 Nov 2002 15:59:07 +0000 (15:59 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Wed, 20 Nov 2002 15:59:07 +0000 (15:59 +0000)
* ltconfig (osf[345]): Append $major to soname_spec.
Reflect this in library_names_spec.
* ltmain.sh (osf): Prefix $major with . for use as extension.

boehm-gc:
* ltconfig (osf[345]): Append $major to soname_spec.
Reflect this in library_names_spec.
* ltmain.sh (osf): Prefix $major with . for use as extension.

From-SVN: r59306

ChangeLog
boehm-gc/ChangeLog
boehm-gc/ltconfig
boehm-gc/ltmain.sh
ltconfig
ltmain.sh

index 1832fa4..df61247 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2002-11-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * ltconfig (osf[345]): Append $major to soname_spec.
+       Reflect this in library_names_spec.
+       * ltmain.sh (osf): Prefix $major with . for use as extension.
+
 2002-11-19  Andreas Jaeger  <aj@suse.de>
 
        * libtool.m4 (libtool_flags): Add patch from libtool CVS: Support
index a0d5917..21d304d 100644 (file)
@@ -1,3 +1,9 @@
+2002-11-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * ltconfig (osf[345]): Append $major to soname_spec.
+       Reflect this in library_names_spec.
+       * ltmain.sh (osf): Prefix $major with . for use as extension.
+
 2002-10-02  Andreas Jaeger  <aj@suse.de>
 
        * include/private/gcconfig.h (HBLKSIZE): Define for x86-64.
index a01334f..b8eef56 100755 (executable)
@@ -2017,8 +2017,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
   # this will be overridden with pass_all, but let us keep it just in case
   deplibs_check_method='file_magic COFF format alpha shared library'
index 50515ad..72699be 100644 (file)
@@ -1715,7 +1715,7 @@ compiler."
          ;;
 
        osf)
-         major=`expr $current - $age`
+         major=.`expr $current - $age`
          versuffix=".$current.$age.$revision"
          verstring="$current.$age.$revision"
 
index 5ccefe0..68be49b 100755 (executable)
--- a/ltconfig
+++ b/ltconfig
@@ -1286,8 +1286,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 92526b6..5d4281c 100644 (file)
--- a/ltmain.sh
+++ b/ltmain.sh
@@ -2606,7 +2606,7 @@ EOF
          ;;
 
        osf)
-         major=`expr $current - $age`
+         major=.`expr $current - $age`
          versuffix=".$current.$age.$revision"
          verstring="$current.$age.$revision"