blob: 75500a029ab55b7c83900b4019448a5e5a1669d2 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001In 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)