Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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) |