]> 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:02:40 +0000 (10:02 +0000)
committerGary V. Vaughan <gary@gnu.org>
Mon, 6 Dec 1999 10:02:40 +0000 (10:02 +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 970f67de0c2f15184d6630299f41d0cdbf51e299..5cdbefa60196e3c8e572a93eb268e18e6e9bb62b 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  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
 
        * ltconfig.in (ac_compile): Use $ac_ext instead of .c.
diff --git a/NEWS b/NEWS
index af5462212f06e479f99f5f608b0dfc6eb4fb2b41..e8e7cb602a767ec8e1f3f1a8aad1d3303b3b64b5 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,7 @@ NEWS - list of user-visible changes between releases of GNU Libtool
 New in 1.3d: 1999-??-??; CVS version 1.3c, Libtool team:
 * Start of support code for cross-compiling to win32.
 * Improved support for mingw32.
+* Improved support for Compaq Tru64 V5.0, and Digital Unix V4.*.
 * New "-no-install" flag to avoid the use of executable wrapper scripts.
 * New --with-pic flag to control the generation of PIC/non-PIC code.
 * New --build flag to ltconfig to help with build cross compilation
index 85c2f051dfe6e6c99d82a950a9a7f71d63ea5134..8cac6af67c51ff3385951c6f60739e4ef546b334 100755 (executable)
@@ -1293,7 +1293,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 $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
@@ -1305,6 +1305,18 @@ else
     hardcode_libdir_separator=:
     ;;
 
+  osf4* | osf5*)       # as osf3* with the addition of -msym flag
+    if test "$with_gcc" = yes; then
+      allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
+      archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${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 $linker_flags -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 $linker_flags'
     hardcode_shlibpath_var=no