diff options
author | Khem Raj <raj.khem@gmail.com> | 2014-10-24 09:24:58 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-10-30 13:00:31 +0000 |
commit | 4cf539e67333ba2c3fe924b092e104da53e68ca0 (patch) | |
tree | 099d6978d75acd96a7c0b770dd26a968c682b841 /meta/recipes-devtools/mklibs/files | |
parent | 2b499db19cd9bd14292457716b50dc62ed90515d (diff) | |
download | openembedded-core-4cf539e67333ba2c3fe924b092e104da53e68ca0.tar.gz openembedded-core-4cf539e67333ba2c3fe924b092e104da53e68ca0.tar.bz2 openembedded-core-4cf539e67333ba2c3fe924b092e104da53e68ca0.zip |
mklibs: Fix loader for mipsel
Additionally treat ld.so to be searched in sysroot
Change-Id: I8b4acb821d9855a1163c7149bc8e369c7c438856
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/mklibs/files')
-rw-r--r-- | meta/recipes-devtools/mklibs/files/sysrooted-ldso.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-devtools/mklibs/files/sysrooted-ldso.patch b/meta/recipes-devtools/mklibs/files/sysrooted-ldso.patch new file mode 100644 index 0000000000..75500a029a --- /dev/null +++ b/meta/recipes-devtools/mklibs/files/sysrooted-ldso.patch @@ -0,0 +1,18 @@ +In cross builds we will have to respect sysroot + +Signed-off-by: Khem Raj <raj.khem@gmail.com> +Upstream-Status: Pending + +Index: mklibs-0.1.39/src/mklibs +=================================================================== +--- mklibs-0.1.39.orig/src/mklibs 2014-03-01 18:25:36.000000000 +0000 ++++ mklibs-0.1.39/src/mklibs 2014-10-19 00:51:46.813534596 +0000 +@@ -495,7 +495,7 @@ + present_symbols = {} + checked_libs = small_libs + checked_libs.extend(available_libs) +- checked_libs.append(ldlib) ++ checked_libs.append(sysroot + ldlib) + for lib in checked_libs: + for symbol in provided_symbols(lib): + debug(DEBUG_SPAM, "present_symbols adding %s" % symbol) |