]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltconfig.in (archive_expsym_cmds): Support for -export-symbol
authorAneesh Kumar K.V <kvaneesh@hotmail.com>
Mon, 30 Oct 2000 23:25:09 +0000 (23:25 +0000)
committerOssama Othman <ossama@debian.org>
Mon, 30 Oct 2000 23:25:09 +0000 (23:25 +0000)
option on Tru64.
(hardcode_libdir_flag_spec): Fixed cxx throwing error while using
libtool.  Done by passing -rpath directlty to the compiler.

ChangeLog
ltconfig.in

index b76cf4f24cde806945b2c3ecac1616b1382f0514..d21695949537242fccc749fb30012ae4e5c7f6ff 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2000-10-30  Aneesh Kumar K.V <kvaneesh@hotmail.com>
+
+       * ltconfig.in (archive_expsym_cmds):  Support for -export-symbol
+       option on Tru64.
+       (hardcode_libdir_flag_spec): Fixed cxx throwing error while using
+       libtool.  Done by passing -rpath directlty to the compiler.
+
 2000-09-12  Michael Matz <matz@ifh.de>
 
        * ltmain.in:  Be careful about filenames with multiple `.'s in
index f4684ad60ce2bc0f337dca11450bba2617803267..59df0b4f70571e50dfe57c8ac78b0528124bf0d8 100755 (executable)
@@ -1442,8 +1442,11 @@ else
     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'
+      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='${wl}-rpath ${wl}$libdir'
+#Both c and cxx compiler support -rpath directly 
+    hardcode_libdir_flag_spec='-rpath $libdir'
     hardcode_libdir_separator=:
     ;;
   rhapsody*)