]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Wed, 17 Nov 2004 15:24:44 +0000 (15:24 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Wed, 17 Nov 2004 15:24:44 +0000 (15:24 +0000)
[aix4/aix5 !ia64]: Set whole_archive_flag_spec to '$convenience'
so convenience libs are really added to the link cmdline.

ChangeLog
m4/libtool.m4

index 647a34c4ef9996c33b2b7767584950a3acdf2ee6..65fb8dffdc56e3334fe64b812862b81338404c4f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-11-17  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+       * 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 <rynge@isi.edu>
 
        * libtool.m4 [linux]: Use only the CC basename in case statment
index f2ca6c8c6c45d707c17277515d9903f53f39c28c..bb0adb0dae999a3f3a23535c61066d91e7fb6695 100644 (file)
@@ -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.