summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/pseudo
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-06-17 18:47:23 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-17 17:11:58 +0100
commitbe5c943e82a21d3ef2dfaaa5b41b6a2814f2fb19 (patch)
tree006286101b803e48aa9361998c404ff721faf5b0 /meta/recipes-devtools/pseudo
parent58c82f79efee8e68fa63b96a32f54660afb15769 (diff)
downloadopenembedded-core-be5c943e82a21d3ef2dfaaa5b41b6a2814f2fb19.tar.gz
openembedded-core-be5c943e82a21d3ef2dfaaa5b41b6a2814f2fb19.tar.bz2
openembedded-core-be5c943e82a21d3ef2dfaaa5b41b6a2814f2fb19.zip
pseudo: remove rpath from libpseudo.so
Setting rpath causes clash of host and sdk libc and makes pseudo to crash with relocation error: libpthread.so.0: symbol __libc_vfork, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference Removing rpath fixes this as it makes pseudo to use only host pthread and libc. [YOCTO #9761] Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/pseudo')
-rw-r--r--meta/recipes-devtools/pseudo/pseudo.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/pseudo/pseudo.inc b/meta/recipes-devtools/pseudo/pseudo.inc
index 0de7b3615f..16c57c9caa 100644
--- a/meta/recipes-devtools/pseudo/pseudo.inc
+++ b/meta/recipes-devtools/pseudo/pseudo.inc
@@ -129,6 +129,7 @@ do_install_append_class-nativesdk () {
mkdir -p ${D}${prefix}/lib/pseudo/lib
cp lib/pseudo/lib/libpseudo.so ${D}${prefix}/lib/pseudo/lib/.
fi
+ chrpath -d ${D}${prefix}/lib/pseudo/lib*/libpseudo.so
}
BBCLASSEXTEND = "native nativesdk"