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

ChangeLog
libtool.m4

index de17929d215478c0847b6ef4c1bd3207bfab2432..f91b348e76605884a32e41176e2ab10706bdae65 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2000-10-30  Aneesh Kumar K.V <kvaneesh@hotmail.com>
+
+       * libtool.m4 (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-10-27  Robert Boehne  <rboehne@ricardo-us.com>
 
        * docs/libtool.texi: Added pointers to documentation       
index 130acde070b4637cfea6109c41a660041e1090ed..fb2053c106dd8fd3ebfd4bb8d8de5569f463b167 100644 (file)
@@ -1341,8 +1341,11 @@ 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 ${output_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*)