From: Aneesh Kumar K.V Date: Mon, 30 Oct 2000 23:13:59 +0000 (+0000) Subject: * libtool.m4 (archive_expsym_cmds): Support for -export-symbol X-Git-Tag: release-1-3d~69 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=338362b732aca082d71a323fdeacfebb6d5e52a0;p=thirdparty%2Flibtool.git * 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. --- diff --git a/ChangeLog b/ChangeLog index de17929d2..f91b348e7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2000-10-30 Aneesh Kumar K.V + + * 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 * docs/libtool.texi: Added pointers to documentation diff --git a/libtool.m4 b/libtool.m4 index 130acde07..fb2053c10 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -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*)