Skip to contentSkip to conversation

glibc: fix nativesdk ldd RTLDLIST

PATCH New [email protected] 1 participant 1 message Apr 4, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 glibc: fix nativesdk ldd RTLDLIST

From: Ming Liu <[email protected]>

Override RTLDLIST for nativesdk, or else ldd would fail to run on SDK targets.

---
 meta/recipes-core/glibc/glibc-ld.inc | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-core/glibc/glibc-ld.inc +1 -0
index b89b70a..c1d635d 100644
@@ -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"
Signature · 1 line
2.7.4