On Thu, 2009-06-04 at 23:45 +0200, Ralf Wildenhues wrote:

> > > > Another minor one was that there is no need to pass
> > > > "+b $install_libdir", as the linker ignores subsequent "+b" values.
> > > 
> > > Erm, libtool has code to merge multiple run path values (and to let
> > > ltmain know that this needs to be done).  Weren't semantics on HP-UX
> > > that way that, if +b was not used, then the linked path with -L is
> > > searched too?  That would be bad then.
> > 
> > This is done anyway using $hardcode_libdir_flag_spec.
> > Leaving "+b $install_libdir" in $archive_cmds would ignore the
> > subsequent collected "+b $libdir".
> 
> Oh.  So I guess this would be an independent fix anyway?

As long as [ $hardcode_into_libs != yes ], $hardcode_libdir_flag is not
used to create libraries, so "+b $install_libdir" does not hurt in
$archive_cmds here.

/haubi/



Reply via email to