diff options
Diffstat (limited to 'meta/recipes-devtools/libtool/libtool/fix-resolve-lt-sysroot.patch')
-rw-r--r-- | meta/recipes-devtools/libtool/libtool/fix-resolve-lt-sysroot.patch | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/meta/recipes-devtools/libtool/libtool/fix-resolve-lt-sysroot.patch b/meta/recipes-devtools/libtool/libtool/fix-resolve-lt-sysroot.patch index 44e9fe17ae..1bd95980c0 100644 --- a/meta/recipes-devtools/libtool/libtool/fix-resolve-lt-sysroot.patch +++ b/meta/recipes-devtools/libtool/libtool/fix-resolve-lt-sysroot.patch | |||
@@ -10,17 +10,18 @@ I have also reported the problem to libtool here | |||
10 | http://lists.gnu.org/archive/html/bug-libtool/2013-09/msg00005.html | 10 | http://lists.gnu.org/archive/html/bug-libtool/2013-09/msg00005.html |
11 | 11 | ||
12 | Signed-off-by: Hans Beckerus <hans.beckerus at gmail.com> | 12 | Signed-off-by: Hans Beckerus <hans.beckerus at gmail.com> |
13 | Updated by: Robert Yang <liezhi.yang@windriver.com> | ||
13 | --- | 14 | --- |
14 | diff -ur libtool-2.4.2.orig/libltdl/m4/libtool.m4 libtool-2.4.2/libltdl/m4/libtool.m4 | 15 | diff --git a/m4/libtool.m4 b/m4/libtool.m4 |
15 | --- libtool-2.4.2.orig/libltdl/m4/libtool.m4 2013-09-13 22:37:43.647282945 +0200 | 16 | --- a/m4/libtool.m4 |
16 | +++ libtool-2.4.2/libltdl/m4/libtool.m4 2013-09-14 10:27:37.168178605 +0200 | 17 | +++ b/m4/libtool.m4 |
17 | @@ -1234,16 +1234,21 @@ | 18 | @@ -1225,16 +1225,21 @@ dnl lt_sysroot will always be passed unquoted. We quote it here |
18 | dnl in case the user passed a directory name. | 19 | dnl in case the user passed a directory name. |
19 | lt_sysroot= | 20 | lt_sysroot= |
20 | case ${with_libtool_sysroot} in #( | 21 | case $with_libtool_sysroot in #( |
21 | - yes) | 22 | - yes) |
22 | + no) | 23 | + no) |
23 | if test "$GCC" = yes; then | 24 | if test yes = "$GCC"; then |
24 | lt_sysroot=`$CC --print-sysroot 2>/dev/null` | 25 | lt_sysroot=`$CC --print-sysroot 2>/dev/null` |
25 | + # Treat "/" the same a an unset sysroot. It seems to be more | 26 | + # Treat "/" the same a an unset sysroot. It seems to be more |
26 | + # compatible across host platforms that way!? | 27 | + # compatible across host platforms that way!? |
@@ -37,5 +38,5 @@ diff -ur libtool-2.4.2.orig/libltdl/m4/libtool.m4 libtool-2.4.2/libltdl/m4/libto | |||
37 | - no|'') | 38 | - no|'') |
38 | - ;; #( | 39 | - ;; #( |
39 | *) | 40 | *) |
40 | AC_MSG_RESULT([${with_libtool_sysroot}]) | 41 | AC_MSG_RESULT([$with_libtool_sysroot]) |
41 | AC_MSG_ERROR([The sysroot must be an absolute path.]) | 42 | AC_MSG_ERROR([The sysroot must be an absolute path.]) |