diff options
Diffstat (limited to 'meta/recipes-devtools/mklibs/files/sysrooted-ldso.patch')
-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 @@ | |||
1 | In cross builds we will have to respect sysroot | ||
2 | |||
3 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
4 | Upstream-Status: Pending | ||
5 | |||
6 | Index: mklibs-0.1.39/src/mklibs | ||
7 | =================================================================== | ||
8 | --- mklibs-0.1.39.orig/src/mklibs 2014-03-01 18:25:36.000000000 +0000 | ||
9 | +++ mklibs-0.1.39/src/mklibs 2014-10-19 00:51:46.813534596 +0000 | ||
10 | @@ -495,7 +495,7 @@ | ||
11 | present_symbols = {} | ||
12 | checked_libs = small_libs | ||
13 | checked_libs.extend(available_libs) | ||
14 | - checked_libs.append(ldlib) | ||
15 | + checked_libs.append(sysroot + ldlib) | ||
16 | for lib in checked_libs: | ||
17 | for symbol in provided_symbols(lib): | ||
18 | debug(DEBUG_SPAM, "present_symbols adding %s" % symbol) | ||