]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
oeqa: Set LD_LIBRARY_PATH when executing native commands
authorJoshua Watt <jpewhacker@gmail.com>
Tue, 27 Aug 2019 19:33:47 +0000 (14:33 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 30 Aug 2019 12:37:43 +0000 (13:37 +0100)
commit3a7305bdfded3c8988484c3f430110cc121123b5
treef765fbc2689eb0c0e87ceb54a67c18f64142df7f
parentf0095e6c1b915e1e6ded111f4bf77fff0362e29a
oeqa: Set LD_LIBRARY_PATH when executing native commands

Some commands like to look for libraries at runtime manually (e.g.
Python's ctype.utils.find_library() function). For this to work
properly, the libraries in the native sysroot must be findable. To
accomplish this, set LD_LIBRARY_PATH to search library paths in the
native sysroot.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/utils/commands.py