Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | From e6dcee5f8a0f80ce99946b81fa1233611a149fe6 Mon Sep 17 00:00:00 2001 |
| 2 | From: Hongxu Jia <hongxu.jia@windriver.com> |
| 3 | Date: Thu, 12 Jul 2018 18:00:52 +0800 |
| 4 | Subject: [PATCH 2/5] fix cannot find link |
| 5 | |
| 6 | .. |
| 7 | |DEBUG: link: Trying 'mips64-wrs-linux-ld --sysroot=tmp-glibc/work/ |
| 8 | mips64-wrs-linux/mozjs/52.8.1-r0/recipe-sysroot ' |
| 9 | |ERROR: Cannot find link |
| 10 | ... |
| 11 | |
| 12 | Upstream-Status: Inappropriate [oe specific] |
| 13 | |
| 14 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> |
| 15 | --- |
| 16 | build/moz.configure/checks.configure | 2 +- |
| 17 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 18 | |
| 19 | diff --git a/build/moz.configure/checks.configure b/build/moz.configure/checks.configure |
| 20 | index 8c2dbc0..83bffc3 100644 |
| 21 | --- a/build/moz.configure/checks.configure |
| 22 | +++ b/build/moz.configure/checks.configure |
| 23 | @@ -128,7 +128,7 @@ def check_prog(var, progs, what=None, input=None, allow_missing=False, |
| 24 | |
| 25 | for prog in value or progs: |
| 26 | log.debug('%s: Trying %s', var.lower(), quote(prog)) |
| 27 | - result = find_program(prog, paths) |
| 28 | + result = find_program(prog.split()[0], paths) |
| 29 | if result: |
| 30 | return result |
| 31 | |
| 32 | -- |
| 33 | 2.7.4 |
| 34 | |