]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltcf-c.sh (archive_expsym_cmds): Support for -export-symbol
authorAneesh Kumar K.V <kvaneesh@hotmail.com>
Mon, 30 Oct 2000 23:29:07 +0000 (23:29 +0000)
committerOssama Othman <ossama@debian.org>
Mon, 30 Oct 2000 23:29:07 +0000 (23:29 +0000)
ChangeLog
ltcf-c.sh

index 376a70bd8d3f5ce5ba4824ffe9fc8842c7ba3294..70dbf1d10b3a23ead8b1cf17074f297b9cba614a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-10-30  Aneesh Kumar K.V <kvaneesh@hotmail.com>
+
+       * ltcf-c.sh (archive_expsym_cmds):  Support for -export-symbol
+        option on Tru64.
+
 2000-10-30  Robert Boehne  <rboehne@ricardo-us.com>
 
        * ltcf-c.sh, ltcf-cxx.sh (hardcode_libdir_flag_spec,
index 0b370cf159aeaebe8d9ff3eb2aebb2cfb0092e77..9982a8ba513b3f86135d76ff97b47750159c0f34 100644 (file)
--- a/ltcf-c.sh
+++ b/ltcf-c.sh
@@ -411,6 +411,8 @@ else
     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'
+      archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
+      $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
     fi
     hardcode_libdir_flag_spec='-rpath $libdir'
     hardcode_libdir_separator=: