diff options
author | Ming Liu <peter.x.liu@external.atlascopco.com> | 2017-04-04 17:12:37 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-05 23:22:13 +0100 |
commit | 3468b4d96cdaeddc4027514f22293c205d6619b7 (patch) | |
tree | 948847862047b22900cf7792c90fb19c3a029789 /meta/recipes-core | |
parent | a99bb57bba2be693e2519bb4d18da181eb7634f9 (diff) | |
download | poky-3468b4d96cdaeddc4027514f22293c205d6619b7.tar.gz |
glibc: fix nativesdk ldd RTLDLIST
Override RTLDLIST for nativesdk, or else ldd would fail to run on
SDK targets.
(From OE-Core rev: 3a1cce659156ef2654a55a6e3c6922fa2dc780e4)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/glibc/glibc-ld.inc | 1 |
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): | |||
44 | 44 | ||
45 | EGLIBC_KNOWN_INTERPRETER_NAMES = "${@glibc_dl_info(d)['ldconfig']}" | 45 | EGLIBC_KNOWN_INTERPRETER_NAMES = "${@glibc_dl_info(d)['ldconfig']}" |
46 | RTLDLIST = "${@glibc_dl_info(d)['lddrewrite']}" | 46 | RTLDLIST = "${@glibc_dl_info(d)['lddrewrite']}" |
47 | RTLDLIST_class-nativesdk = "${base_libdir}/${@bb.utils.contains('SDK_ARCH', 'x86_64', 'ld-linux-x86-64.so.2', 'ld-linux.so.2', d)}" | ||
47 | glibc_dl_info[vardepsexclude] = "OVERRIDES" | 48 | glibc_dl_info[vardepsexclude] = "OVERRIDES" |