From: Rainer Orth Date: Wed, 20 Nov 2002 15:59:07 +0000 (+0000) Subject: ltconfig (osf[345]): Append $major to soname_spec. X-Git-Tag: releases/gcc-3.3.0~1717 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e6226a2f87a75d3daf21896affc0857a94d5d4ac;p=thirdparty%2Fgcc.git ltconfig (osf[345]): Append $major to soname_spec. * 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 --- diff --git a/ChangeLog b/ChangeLog index 1832fa493cda..df61247cdc09 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-11-19 Rainer Orth + + * 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 * libtool.m4 (libtool_flags): Add patch from libtool CVS: Support diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog index a0d5917e56ae..21d304df594e 100644 --- a/boehm-gc/ChangeLog +++ b/boehm-gc/ChangeLog @@ -1,3 +1,9 @@ +2002-11-19 Rainer Orth + + * 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 * include/private/gcconfig.h (HBLKSIZE): Define for x86-64. diff --git a/boehm-gc/ltconfig b/boehm-gc/ltconfig index a01334f9212c..b8eef56a9169 100755 --- a/boehm-gc/ltconfig +++ b/boehm-gc/ltconfig @@ -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' diff --git a/boehm-gc/ltmain.sh b/boehm-gc/ltmain.sh index 50515ad0b9ee..72699bea1c16 100644 --- a/boehm-gc/ltmain.sh +++ b/boehm-gc/ltmain.sh @@ -1715,7 +1715,7 @@ compiler." ;; osf) - major=`expr $current - $age` + major=.`expr $current - $age` versuffix=".$current.$age.$revision" verstring="$current.$age.$revision" diff --git a/ltconfig b/ltconfig index 5ccefe0463e0..68be49bb2eec 100755 --- 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" diff --git a/ltmain.sh b/ltmain.sh index 92526b60b795..5d4281c54d2d 100644 --- 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"