From: Peter O'Gorman Date: Mon, 12 Jul 2004 14:08:05 +0000 (+0000) Subject: * m4/libtool.m4 [darwin]: Set whole_archive_flag_spec to '' for xlc, X-Git-Tag: release-1-9b~59 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d2361374b4c2a8d564a230c4b2968d7ab72f21a;p=thirdparty%2Flibtool.git * 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. --- diff --git a/ChangeLog b/ChangeLog index b96dd09ac..30db4d1cc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2004-07-12 Peter O'Gorman + + * 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 * libltdl/ltdl.h (lt_dlinfo): Move private module field to here... diff --git a/m4/libtool.m4 b/m4/libtool.m4 index 52dc2726c..3baa053db 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -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'