]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltcf-cxx.sh (archive_expsym_cmds, osf4/osf5): Added support
authorAneesh Kumar K.V <kvaneesh@hotmail.com>
Tue, 10 Apr 2001 19:54:42 +0000 (19:54 +0000)
committerGary V. Vaughan <gary@gnu.org>
Tue, 10 Apr 2001 19:54:42 +0000 (19:54 +0000)
for cxx under Compaq Tru64.

ChangeLog
ltcf-cxx.sh

index 24ba1618ae3cdc025552d44e73bad09c4423c9b0..6b603743b457e2846cb26a74c9884322e5fbca75 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1001-04-10  Aneesh Kumar K.V  <kvaneesh@hotmail.com>
+
+       * ltcf-cxx.sh (archive_expsym_cmds, osf4/osf5):  Added support
+       for cxx under Compaq Tru64.
+
 2001-04-08  Gary V. Vaughan  <gvv@techie.com>
 
        * ltcf-c.sh (hardcode_libdir_flag_spec, osf4/osf5): Use ${wl}
index 91ee3d56596e18ec55ac973a5636fbe76b8015b2..7ab9feee882b2e11ae706e7ba11f2b2ff75ee469 100644 (file)
@@ -474,6 +474,10 @@ case $host_os in
       cxx)
         allow_undefined_flag=' -expect_unresolved \*'
         archive_cmds='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
+       archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done~
+         echo "-hidden">> $lib.exp~
+         $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
+         $rm $lib.exp'
 
         hardcode_libdir_flag_spec='-rpath $libdir'
         hardcode_libdir_separator=: