]> code.ossystems Code Review - openembedded-core.git/commit
pseudo: Ensure we use our own libsqlite
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 30 Mar 2020 15:31:52 +0000 (16:31 +0100)
committerArmin Kuster <akuster808@gmail.com>
Mon, 20 Apr 2020 00:15:38 +0000 (17:15 -0700)
commit2cbb3a663a3d3b2dcf8c12c26843d6087789ded0
tree5a4502079e1545a657da4461302ba9f8ac0de74a
parent1e8e188514584f9f972c0eb733c10a61853ec3d0
pseudo: Ensure we use our own libsqlite

pseudo-native is special in that bitbake ends up executing it from the
sysroot-components directory before we have any workdirs for the bitbake
fakeroot worker. Since we switched to dynamically linking sqlite, it
means sqlite from the host system may be found, we really want the version
in sysroot-components. Trying to run tasks to create some special environment
for pseudo is hard and error prone. The simplest fix is to add an RPATH to
the binary so that it can correctly find the sqlite we want.

Unfortunately passing $ORIGIN into make doesn't work so well with shell
quoting so we have to fix that during do_install.

[YOCTO #13814]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3937ca9e2dfabb1ce9bce1d536b60b1e2a43739b)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-devtools/pseudo/pseudo.inc