Re: [OE-core] [PATCH 2/2] libtool: normalize link paths before considering for RPATH

2012-08-20 Thread Andy Ross
On 08/19/2012 03:06 AM, Richard Purdie wrote: On Fri, 2012-08-17 at 08:53 -0700, Andy Ross wrote: ++libdir_norm=`echo $libdir \ ++ | sed 's/\/\+\.\(\/\+\|$\)/\//g' \ ++ | sed 's/[^\/]\+\/\+\.\.\(\/\+\|$\)//g' \ ++ | sed

Re: [OE-core] [PATCH 2/2] libtool: normalize link paths before considering for RPATH

2012-08-20 Thread Richard Purdie
On Mon, 2012-08-20 at 09:59 -0700, Andy Ross wrote: On 08/19/2012 03:06 AM, Richard Purdie wrote: On Fri, 2012-08-17 at 08:53 -0700, Andy Ross wrote: ++libdir_norm=`echo $libdir \ ++ | sed 's/\/\+\.\(\/\+\|$\)/\//g' \ ++ | sed

Re: [OE-core] [PATCH 2/2] libtool: normalize link paths before considering for RPATH

2012-08-19 Thread Richard Purdie
On Fri, 2012-08-17 at 08:53 -0700, Andy Ross wrote: Libtool may be passed link paths of the form /usr/lib/../lib, which fool its detection code into thinking it should be included as an RPATH in the generated binary. Normalize before comparision. Signed-off-by: Andy Ross

[OE-core] [PATCH 2/2] libtool: normalize link paths before considering for RPATH

2012-08-17 Thread Andy Ross
Libtool may be passed link paths of the form /usr/lib/../lib, which fool its detection code into thinking it should be included as an RPATH in the generated binary. Normalize before comparision. Signed-off-by: Andy Ross andy.r...@windriver.com --- meta/recipes-devtools/libtool/libtool-2.4.2.inc