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

Khem Raj raj.khem at gmail.com
Tue Mar 25 17:24:22 UTC 2014


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=eee0b5aadba34130080df8aebc7e8dd57c7d5ccb
>
> 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