[OE-core] [RFC PATCH v3] chrpath.bbclass: strip common parent directories from rpath
Phil Blundell
pb at pbcl.net
Tue Jul 30 15:34:58 UTC 2013
On Tue, 2013-07-30 at 08:27 -0700, Khem Raj wrote:
> On Jul 30, 2013, at 8:24 AM, Phil Blundell <pb at pbcl.net> wrote:
>
> > On Tue, 2013-07-02 at 11:50 +0200, Andreas Oberritter wrote:
> >> Allows to use shorter TMPDIRs in corner cases, e.g. with native
> >> perl modules, having a deep directory structure.
> >>
> >> The problem is that the original absolute rpath may be shorter
> >> than the newly generated relative rpath.
> >
> > Can we not just fix chrpath to cope with the case where the new path is
> > longer than the old one? It seems a bit sad to require
> > ever-more-convoluted workarounds for what is essentially a tool problem.
> >
>
> another option is to dump chrpath in favour of something which does it elegantly - patchelf
Right, or that. I've never used patchelf myself but if it works better
than chrpath (which isn't an especially high bar to set) then that
sounds like a decent enough option.
p.
More information about the Openembedded-core
mailing list