[OE-core] [PATCH] coreutils: fix search paths for libstdbuf.so

B40290 at freescale.com B40290 at freescale.com
Fri Mar 28 09:52:42 UTC 2014


Hello,

I set "---libexecdir=${libdir}" in bb file.

I submit new patch for this issue .

Please review it .

Thanks,
chunrong


-----Original Message-----
From: Khem Raj [mailto:raj.khem at gmail.com] 
Sent: Wednesday, March 26, 2014 1:24 AM
To: Richard Purdie
Cc: Guo Chunrong-B40290; Patches and discussions about the oe-core layer
Subject: Re: [OE-core] [PATCH] coreutils: fix search paths for libstdbuf.so

On Tue, Mar 25, 2014 at 3:55 AM, Richard Purdie <richard.purdie at linuxfoundation.org> wrote:
> Khem added this back in 2011:
>
> http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/meta/recipes-
> core/coreutils?h=rpurdie/t2&id=eee0b5aadba34130080df8aebc7e8dd57c7d5cc
> b
>
> Khem: Any idea what this was for?

coreutils changed this back in 8.13 timeframe to appease automake which stopped accepting pkglib_PROGRAMS and it was moved to pkglibexec_PROGRAMS list since this library is special where you do not link to it directly but preload it to divert stdio buffers coreutils devs did not classifiy it to be installed in libdir but in libexecdir instead and if you look stdbuf program which sets up this preloading is hardwired to look into libexecdir and modifies the preload search path to include libexecdir in search path, so if we specify --libexecdir=.. to configure and make sure that this .so lands in same directory on target then we are ok. did we change global libexecdir ?




More information about the Openembedded-core mailing list