From: Thomas Tanner Date: Mon, 8 Feb 1999 00:10:28 +0000 (+0000) Subject: * ltconfig.in: according to Marcus Sundberg X-Git-Tag: release-1-2f~143 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36f9c4b71d6b35bb44c9da50827ae81be17fd815;p=thirdparty%2Flibtool.git * ltconfig.in: according to Marcus Sundberg HP/UX, IRIX, OpenBSD, Digital Unix and SunOS support need_version=no and need_lib_prefix=no, fixed a bug in Solaris' archive_sym_cmds --- diff --git a/ChangeLog b/ChangeLog index 172e1278a..a69e688a0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +1999-02-08 Thomas Tanner + + * ltconfig.in: according to Marcus Sundberg + HP/UX, IRIX, OpenBSD, Digital Unix and SunOS support + need_version=no and need_lib_prefix=no, + fixed a bug in Solaris' archive_sym_cmds + 1999-02-04 Alexandre Oliva * libtool.m4 (ac_cv_sys_global_symbol_pipe): accept TAB in diff --git a/ltconfig.in b/ltconfig.in index d5e2d066a..15b49c1a1 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -1280,8 +1280,8 @@ else # $CC -shared without GNU ld will not create a library from C++ # object files and a static libstdc++, better avoid it by now archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linkopts' - archive_sym_cmds='$echo "{ global:" > $lib.exp~sed $export_symbols -e "s/.*/\1;/" >> $lib.exp~$echo "local: * }" >> $lib.exp~ - $LD -G${allow_undefined_flag} -M $export_symbols -h $soname -o $lib $libobjs $deplibs $linkopts~$rm $lib.exp' + archive_sym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ + $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linkopts~$rm $lib.exp' hardcode_libdir_flag_spec='-R$libdir' hardcode_shlibpath_var=no ;; @@ -1657,6 +1657,8 @@ hpux9* | hpux10* | hpux11*) # link against other versions. dynamic_linker="$host_os dld.sl" version_type=sunos + need_lib_prefix=no + need_version=no shlibpath_var=SHLIB_PATH library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl' soname_spec='${libname}${release}.sl$major' @@ -1673,6 +1675,8 @@ irix5*) irix6*) 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' shlibpath_var=LD_LIBRARYN32_PATH @@ -1722,6 +1726,10 @@ netbsd*) openbsd*) version_type=sunos + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + need_version=no + fi library_names_spec='${libname}${release}.so$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH @@ -1768,6 +1776,9 @@ sunos4*) library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH + if test "$with_gnu_ld" = yes; then + need_lib_prefix=no + fi need_version=yes ;; @@ -1792,6 +1803,8 @@ uts4*) dgux*) version_type=linux + need_lib_prefix=no + need_version=no library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' soname_spec='${libname}${release}.so$major' shlibpath_var=LD_LIBRARY_PATH