From: Ralf Wildenhues Date: Wed, 17 Nov 2004 15:24:03 +0000 (+0000) Subject: * m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG) X-Git-Tag: release-2-1b~859 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e080898fc48b32970cad1a9a25c6cb7ee3399ebd;p=thirdparty%2Flibtool.git * m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG) [aix4/aix5 !ia64]: Set whole_archive_flag_spec to '$convenience' so convenience libs are really added to the link cmdline. --- diff --git a/ChangeLog b/ChangeLog index befda78df..8d8f128db 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-11-17 Ralf Wildenhues + + * m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG) + [aix4/aix5 !ia64]: Set whole_archive_flag_spec to '$convenience' + so convenience libs are really added to the link cmdline. + 2004-11-17 Mats Rynge * libtool.m4 [linux]: Use only the CC basename in case statment diff --git a/m4/libtool.m4 b/m4/libtool.m4 index 67f419260..47e95b5d5 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -3803,7 +3803,7 @@ _LT_EOF # -bexpall does not export symbols beginning with underscore (_) _LT_TAGVAR(always_export_symbols, $1)=yes # Exported symbols can be pulled into shared objects from archives - _LT_TAGVAR(whole_archive_flag_spec, $1)=' ' + _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' _LT_TAGVAR(archive_cmds_need_lc, $1)=yes # This is similar to how AIX traditionally builds it's shared libraries. _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' @@ -4758,7 +4758,7 @@ if test "$_lt_caught_CXX_error" != yes; then # -bexpall does not export symbols beginning with underscore (_) _LT_TAGVAR(always_export_symbols, $1)=yes # Exported symbols can be pulled into shared objects from archives - _LT_TAGVAR(whole_archive_flag_spec, $1)=' ' + _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' _LT_TAGVAR(archive_cmds_need_lc, $1)=yes # This is similar to how AIX traditionally builds it's shared # libraries.