From: Aneesh Kumar K.V Date: Mon, 30 Oct 2000 23:25:09 +0000 (+0000) Subject: * ltconfig.in (archive_expsym_cmds): Support for -export-symbol X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6fa000781fa807498805ef927239bb27381780b9;p=thirdparty%2Flibtool.git * 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. --- diff --git a/ChangeLog b/ChangeLog index b76cf4f24..d21695949 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2000-10-30 Aneesh Kumar K.V + + * 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 * ltmain.in: Be careful about filenames with multiple `.'s in diff --git a/ltconfig.in b/ltconfig.in index f4684ad60..59df0b4f7 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -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*)