From: Rainer Orth Date: Mon, 9 Sep 2002 18:26:34 +0000 (+0000) Subject: * libtool.m4 (osf[345]): Append $major to soname_spec. X-Git-Tag: release-1-5~91 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c2132510d844b34b4bacc04bde18d2224d10d926;p=thirdparty%2Flibtool.git * 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. --- diff --git a/ChangeLog b/ChangeLog index 4f71d7761..3c9a05caa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-09-09 Rainer Orth + + * 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-08-28 Bob Friesenhahn * ltdl.m4 & libltdl/ltdl.c: Port fully to native Win32 API. diff --git a/libtool.m4 b/libtool.m4 index 61ba9e8a0..f050acffe 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -1376,8 +1376,8 @@ osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no 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" @@ -5065,9 +5065,8 @@ EOF openbsd*) _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' else @@ -5077,7 +5076,7 @@ EOF _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' ;; *) - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags' + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' ;; esac diff --git a/ltmain.in b/ltmain.in index d9b49856e..108462be5 100644 --- a/ltmain.in +++ b/ltmain.in @@ -2685,7 +2685,7 @@ EOF ;; osf) - major=`expr $current - $age` + major=.`expr $current - $age` versuffix=".$current.$age.$revision" verstring="$current.$age.$revision" @@ -4293,7 +4293,7 @@ fi\ oldobjs="$libobjs_save" build_libtool_libs=no else - oldobjs="$oldobjs$old_deplibs $non_pic_objects" + oldobjs="$old_deplibs $non_pic_objects" fi addlibs="$old_convenience" fi