From a958e48cd6622e388d58d6edb3cc9f1cb16e889a Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Wed, 17 Nov 2004 15:24:44 +0000 Subject: [PATCH] * 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. --- ChangeLog | 6 ++++++ m4/libtool.m4 | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 647a34c4e..65fb8dffd 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 f2ca6c8c6..bb0adb0da 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. -- 2.47.2