]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS)
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 20 Nov 2005 12:09:26 +0000 (12:09 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 20 Nov 2005 12:09:26 +0000 (12:09 +0000)
(AC_LIBTOOL_LANG_CXX_CONFIG) [aix4/aix5 !ia64]: Set
whole_archive_flag_spec to $convenience so the convenience libs
are really added to the link cmdline.
Missing backport from CVS HEAD 2004-11-17 noted by Jørgen Moth
<jorgen.moth@uni-c.dk>.

ChangeLog
libtool.m4

index 40feca6ea1c7928dd5e3faeb600b8e74263e3511..cdf797caa16c50b5136ddfb68c4ccc7076d426ce 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2005-11-20  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+       * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS)
+       (AC_LIBTOOL_LANG_CXX_CONFIG) [aix4/aix5 !ia64]: Set
+       whole_archive_flag_spec to $convenience so the convenience libs
+       are really added to the link cmdline.
+       Missing backport from CVS HEAD 2004-11-17 noted by Jørgen Moth
+       <jorgen.moth@uni-c.dk>.
+
 2005-11-20  Todd Vierling <tv@netbsd.org>,
            Thorsten Glaser <tg@mirbsd.org>
 
index 227d2677c7d2e27abd4546e8a23e604417794796..36e10e348e449855785db423e43e2a5b05c15baf 100644 (file)
@@ -2961,7 +2961,7 @@ case $host_os in
        _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
        _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
        # Exported symbols can be pulled into shared objects from archives
-       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
+       _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
        _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
        # This is similar to how AIX traditionally builds its shared libraries.
        _LT_AC_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'
@@ -5751,7 +5751,7 @@ _LT_EOF
          _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
          _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
          # Exported symbols can be pulled into shared objects from archives
-         _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=' '
+         _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
          _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
          # This is similar to how AIX traditionally builds its shared libraries.
          _LT_AC_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'