libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[FYI] darwin xlc two line patch.


From: Peter O'Gorman
Subject: [FYI] darwin xlc two line patch.
Date: Mon, 12 Jul 2004 23:07:45 +0900
User-agent: Mozilla Thunderbird 0.6 (Macintosh/20040502)

I just applied this. I have no idea what I did before, looks like I comitted a patch which was different to the one I did "make check" on...

Peter
--
Peter O'Gorman - http://www.pogma.com

Index: ChangeLog
2004-07-12  Peter O'Gorman  <address@hidden>

        * 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.

from  Gary V. Vaughan  <address@hidden>
Index: m4/libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/m4/libtool.m4,v
retrieving revision 1.77
diff -u -3 -p -u -r1.77 libtool.m4
--- m4/libtool.m4 7 Jul 2004 13:45:06 -0000 1.77
+++ m4/libtool.m4 12 Jul 2004 14:04:47 -0000
@@ -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'

reply via email to

[Prev in Thread] Current Thread [Next in Thread]