libtool-patches
[Top][All Lists]
Advanced

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

Re: tests on AIX 5


From: Ralf Wildenhues
Subject: Re: tests on AIX 5
Date: Wed, 17 Nov 2004 16:24:31 +0100
User-agent: Mutt/1.4.1i

* Ralf Wildenhues wrote on Mon, Nov 15, 2004 at 05:36:23PM CET:
> 
> I don't know what this change does to other AIX systems, I cannot test
> older AIX releases or other systems.  Is there someone who can test?  Is
> this patch OK?

Applied this patch to branch-2-0 and HEAD.

Regards,
Ralf

> 2004-11-15  Ralf Wildenhues <address@hidden>
> 
>       * m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG)
>       [aix4/aix5 !ia64]: Set whole_archive_flag_spec to $convenience
>       so the convenience libs are really added to the link cmdline.
> 
> 
> Index: m4/libtool.m4
> ===================================================================
> RCS file: /cvsroot/libtool/libtool/m4/libtool.m4,v
> retrieving revision 1.125.2.6
> diff -u -r1.125.2.6 libtool.m4
> --- m4/libtool.m4     1 Nov 2004 15:05:23 -0000       1.125.2.6
> +++ m4/libtool.m4     7 Nov 2004 18:53:37 -0000
> @@ -3778,7 +3778,7 @@
>         # -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'
> @@ -4733,7 +4733,7 @@
>           # -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.
> 




reply via email to

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