summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorMing Liu <peter.x.liu@external.atlascopco.com>2017-04-04 17:12:37 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-04-05 23:22:06 +0100
commit3a1cce659156ef2654a55a6e3c6922fa2dc780e4 (patch)
tree34bfb7fbf588dfadac11f7ab31250de2cd332be5 /meta
parent95d6910bb5d9331adb7a693fcb4f7b1271c68cc6 (diff)
downloadopenembedded-core-3a1cce659156ef2654a55a6e3c6922fa2dc780e4.tar.gz
openembedded-core-3a1cce659156ef2654a55a6e3c6922fa2dc780e4.tar.bz2
openembedded-core-3a1cce659156ef2654a55a6e3c6922fa2dc780e4.zip
glibc: fix nativesdk ldd RTLDLIST
Override RTLDLIST for nativesdk, or else ldd would fail to run on SDK targets. Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/glibc/glibc-ld.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/glibc/glibc-ld.inc b/meta/recipes-core/glibc/glibc-ld.inc
index b89b70a293..c1d635dc8d 100644
--- a/meta/recipes-core/glibc/glibc-ld.inc
+++ b/meta/recipes-core/glibc/glibc-ld.inc
@@ -44,4 +44,5 @@ def glibc_dl_info(d):
EGLIBC_KNOWN_INTERPRETER_NAMES = "${@glibc_dl_info(d)['ldconfig']}"
RTLDLIST = "${@glibc_dl_info(d)['lddrewrite']}"
+RTLDLIST_class-nativesdk = "${base_libdir}/${@bb.utils.contains('SDK_ARCH', 'x86_64', 'ld-linux-x86-64.so.2', 'ld-linux.so.2', d)}"
glibc_dl_info[vardepsexclude] = "OVERRIDES"