]> code.ossystems Code Review - openembedded-core.git/commit
nss: define RPATH variable for nss-native
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Mon, 15 Feb 2016 15:01:49 +0000 (17:01 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 16 Feb 2016 09:03:28 +0000 (09:03 +0000)
commitf78664219503cc176ca1c10a4397ca8a2883eb71
treed9092a7db1cb48b4560d76d9ab2479476b9b3d74
parent497f9720a7bdc97ae147f3c6e351fba29029a7dd
nss: define RPATH variable for nss-native

Otherwise the nss libs do not get any RPATH/RUNPATH. Consequently, the
.so dependencies of nss libs are always searched from the base lib
directories of the host (i.e. /lib/ and /usr/lib). This causes problems
with nss-native where the .so's should be searched from the base lib
directories of the sysroot instead of the host file system.

This particular problem has probably been unnoticed as most users are
likely to have nss libraries installed on their host system. In this
case everything most likely work as expected.

[YOCTO #9041]

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/nss/nss_3.21.bb