summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/mklibs
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/mklibs')
-rw-r--r--meta/recipes-devtools/mklibs/files/sysrooted-ldso.patch18
-rw-r--r--meta/recipes-devtools/mklibs/mklibs-native_0.1.39.bb1
2 files changed, 19 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 @@
1In cross builds we will have to respect sysroot
2
3Signed-off-by: Khem Raj <raj.khem@gmail.com>
4Upstream-Status: Pending
5
6Index: 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)
diff --git a/meta/recipes-devtools/mklibs/mklibs-native_0.1.39.bb b/meta/recipes-devtools/mklibs/mklibs-native_0.1.39.bb
index ff8d5003ee..9885561fe3 100644
--- a/meta/recipes-devtools/mklibs/mklibs-native_0.1.39.bb
+++ b/meta/recipes-devtools/mklibs/mklibs-native_0.1.39.bb
@@ -9,6 +9,7 @@ DEPENDS = "python-native dpkg-native"
9SRC_URI = "http://ftp.de.debian.org/debian/pool/main/m/mklibs/${BPN}_${PV}.tar.xz \ 9SRC_URI = "http://ftp.de.debian.org/debian/pool/main/m/mklibs/${BPN}_${PV}.tar.xz \
10 file://ac_init_fix.patch\ 10 file://ac_init_fix.patch\
11 file://fix_STT_GNU_IFUNC.patch\ 11 file://fix_STT_GNU_IFUNC.patch\
12 file://sysrooted-ldso.patch \
12" 13"
13 14
14SRC_URI[md5sum] = "38a579a531401eb76f4bab4ccfb774a2" 15SRC_URI[md5sum] = "38a579a531401eb76f4bab4ccfb774a2"