]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
From Tim Mooney <mooney@dogbert.cc.ndsu.NoDak.edu>
authorGary V. Vaughan <gary@gnu.org>
Mon, 6 Dec 1999 10:09:59 +0000 (10:09 +0000)
committerGary V. Vaughan <gary@gnu.org>
Mon, 6 Dec 1999 10:09:59 +0000 (10:09 +0000)
* 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.

ChangeLog
NEWS
ltconfig.in

index 04027c20f36d79c5ca072af8f754cefe0a93d8c7..839131aab29698cabac7fb3fb774b23118dc2054 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+1999-12-06  Gary V. Vaughan  <gary@oranda.demon.co.uk>
+
+       From Tim Mooney  <mooney@dogbert.cc.ndsu.NoDak.edu>
+       * 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  <gary@oranda.demon.co.uk>
 
        * ltconfig.in (hardcode_into_libs):  Remove the commented out
diff --git a/NEWS b/NEWS
index b2e6a88c8015918d5d17d21c953bf27904c30eee..29dafde90ebb27dbe10bd18a7cef617843d68846 100644 (file)
--- 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.
 \f
index 24f0fd7eb8cfd80f55e9ec314d4eb43fad9717fa..8a0f844859286920d45fb320054394d82d068645 100755 (executable)
@@ -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