Hi Albert, * Albert Chin wrote on Fri, Nov 11, 2005 at 04:48:48AM CET: > > 2005-11-10 Albert Chin-A-Young <[EMAIL PROTECTED]> > > * 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*