From: Gary V. Vaughan Date: Mon, 6 Dec 1999 10:09:59 +0000 (+0000) Subject: From Tim Mooney X-Git-Tag: release-1-3-4~2 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=83503bd8aacaa42eacd945648bace5968b9839a3;p=thirdparty%2Flibtool.git From Tim Mooney * ltconfig.in: split off the osf3 section, so that the osf4 and osf5 sections can add `-msym' to arguments passed to the linker for shared libs. --- diff --git a/ChangeLog b/ChangeLog index 04027c20f..839131aab 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +1999-12-06 Gary V. Vaughan + + From Tim Mooney + * ltconfig.in: split off the osf3 section, so that the osf4 and + osf5 sections can add `-msym' to arguments passed to the linker + for shared libs. + 1999-12-03 Gary V. Vaughan * ltconfig.in (hardcode_into_libs): Remove the commented out diff --git a/NEWS b/NEWS index b2e6a88c8..29dafde90 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,7 @@ NEWS - list of user-visible changes between releases of GNU Libtool New in 1.3.4: 1999-??-??, CVS version 1.3.3a, Libtool team: * Support for Compaq Tru64 V5.0. +* Improved support for Digatal Unix V4.*. * Improved support for NetBSD, FreeBSD and Unixware. * Many fine bugfixes. diff --git a/ltconfig.in b/ltconfig.in index 24f0fd7eb..8a0f84485 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -1410,7 +1410,7 @@ else old_archive_from_new_cmds='emximp -o $objdir/$libname.a $objdir/$libname.def' ;; - osf3* | osf4* | osf5*) + osf3*) if test "$with_gcc" = yes; then allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $linkopts ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' @@ -1422,6 +1422,18 @@ else hardcode_libdir_separator=: ;; + osf4* | osf5*) # As osf3* with the addition of the -msym flag + if test "$with_gcc" = yes; then + allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' + archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $linkopts ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' + else + allow_undefined_flag=' -expect_unresolved \*' + archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linkopts -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' + fi + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + ;; + sco3.2v5*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linkopts' hardcode_shlibpath_var=no