]> code.ossystems Code Review - openembedded-core.git/commit
pseudo: Ensure the correct libraries are used at runtime
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 15 Apr 2012 15:00:42 +0000 (16:00 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 15 Apr 2012 16:30:45 +0000 (17:30 +0100)
commita481fe3b9883aa744be3253e2b4b27e6e46eb059
treef29c8b7c189e6ed737edbb70b9e435bdd1b81f5a
parent43e6fec78e36beb770fd47b0c4631d7382025d6b
pseudo: Ensure the correct libraries are used at runtime

There can be a conflict between the nativesdk libc and the host system's
libc. It is assumed the nativesdk version is of an equal or higher version.
This is a particular issue for pseudo if its loading a system binary
since the system's libc might be used of an older verison which would
then confuse libpseudo.so when loaded as a preload.

To avoid this, set LD_LIBRARY_PATH so the nativesdk libc is always
used.

Since we now use --without-rpath, we can remove the MAKEOPTS RPATH workaround.

[YOCTO #2299]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/pseudo/pseudo.inc
meta/recipes-devtools/pseudo/pseudo_1.3.bb
meta/recipes-devtools/pseudo/pseudo_git.bb