* 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.
This commit is contained in:
Aneesh Kumar K.V 2000-10-30 23:13:59 +00:00 committed by Ossama Othman
parent a701df2d0a
commit 338362b732
2 changed files with 11 additions and 1 deletions

View File

@ -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

5
libtool.m4 vendored
View 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*)