]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* m4/libtool.m4 [darwin]: Set whole_archive_flag_spec to '' for xlc,
authorPeter O'Gorman <peter@pogma.com>
Mon, 12 Jul 2004 14:08:05 +0000 (14:08 +0000)
committerPeter O'Gorman <peter@pogma.com>
Mon, 12 Jul 2004 14:08:05 +0000 (14:08 +0000)
or it does not pass it's tests. xlc passes -noall_load (the default)
and when -all_load is also specified Apple's /usr/bin/libtool barfs
and dies.

ChangeLog
m4/libtool.m4

index b96dd09ac05a748ae342e08ab5167e1f19a6f43a..30db4d1ccfb1f72012b5eb7bc6bfe9478ec46887 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2004-07-12  Peter O'Gorman  <peter@pogma.com>
+
+       * m4/libtool.m4 [darwin]: Set whole_archive_flag_spec to '' for xlc,
+       or it does not pass it's tests. xlc passes -noall_load (the default)
+       and when -all_load is also specified Apple's /usr/bin/libtool barfs
+       and dies.
+
 2004-07-08  Gary V. Vaughan  <gary@gnu.org>
 
        * libltdl/ltdl.h (lt_dlinfo): Move private module field to here...
index 52dc2726ceedfe71299ed0c47991cf8901ebf203..3baa053dba0367257458d85d70dec494366046f3 100644 (file)
@@ -3810,6 +3810,7 @@ _LT_EOF
     else
       case "$cc_basename" in
         xlc*)
+         _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
          output_verbose_link_cmd='echo'
           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
           _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
@@ -4750,6 +4751,7 @@ if test -n "$compiler"; then
       else
       case "$cc_basename" in
         xlc*)
+         _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
          output_verbose_link_cmd='echo'
           _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
           _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'