libtool-patches
[Top][All Lists]
Advanced

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

Re: On HP-UX 11.x, link with cc, not ld (sync with HEAD)


From: Ralf Wildenhues
Subject: Re: On HP-UX 11.x, link with cc, not ld (sync with HEAD)
Date: Fri, 11 Nov 2005 22:36:08 +0100
User-agent: Mutt/1.5.9i

Hi Albert,

* Albert Chin wrote on Fri, Nov 11, 2005 at 04:48:48AM CET:
> 
> 2005-11-10  Albert Chin-A-Young  <address@hidden>
> 
>       * libtool.m4 (AC_LIBTOOL_PROG_LD_SHLIBS) [ hpux10 ]:
>       Link with cc rather than ld (backport from HEAD).

This patch is ok with one nit, see below.

Cheers,
Ralf

> --- libtool.m4        10 Nov 2005 18:29:38 -0000      1.314.2.128
> +++ libtool.m4        11 Nov 2005 03:44:03 -0000
> @@ -5792,7 +5792,26 @@ EOF
>        _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
>        ;;
>  
> -    hpux10* | hpux11*)
> +    hpux10*)
> +      if test "$GCC" = yes; then

HEAD has here:
  if test "$GCC" = yes -a "$with_gnu_ld" = no

oversight in your backport?
(In any case, I'll change the `-a' to `&& test' then, for consistency).

> +     _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname 
> ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
> +      else
> +     _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir 
> -o $lib $libobjs $deplibs $linker_flags'
> +      fi
> +      if test "$with_gnu_ld" = no; then
*snip*




reply via email to

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