mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
* Upgrade:
- libtool-native
- libtool-cross
- nativesdk-libtool
- libtool
* Remove 2 patches:
- respect-fstack-protector.patch: already in the new source.
- avoid_absolute_paths_for_general_utils.patch: no general.m4sh any
more.
- Use inline-source to install libtoolize.
* Update other patches
* The LIC_FILES_CHKSUM is changed because of the indent, the contents
are the same.
* The libtool config files are put in libtool/build-aux now, it was
libtool/config in the past.
(From OE-Core rev: 871dc461b1dfc431c0c95743af1624b781262bce)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
43 lines
1.3 KiB
Diff
43 lines
1.3 KiB
Diff
Upstream-Status: Pending
|
|
|
|
This patch updates libtool.m4 (and its output) to resolve a problem
|
|
with variable 'lt_sysroot' not being properly updated if the option
|
|
'--with[-libtool]-sysroot' is not provided when running the 'configure'
|
|
script for a package.
|
|
|
|
I have also reported the problem to libtool here
|
|
|
|
http://lists.gnu.org/archive/html/bug-libtool/2013-09/msg00005.html
|
|
|
|
Signed-off-by: Hans Beckerus <hans.beckerus at gmail.com>
|
|
Updated by: Robert Yang <liezhi.yang@windriver.com>
|
|
---
|
|
diff --git a/m4/libtool.m4 b/m4/libtool.m4
|
|
--- a/m4/libtool.m4
|
|
+++ b/m4/libtool.m4
|
|
@@ -1225,16 +1225,21 @@ dnl lt_sysroot will always be passed unquoted. We quote it here
|
|
dnl in case the user passed a directory name.
|
|
lt_sysroot=
|
|
case $with_libtool_sysroot in #(
|
|
- yes)
|
|
+ no)
|
|
if test yes = "$GCC"; then
|
|
lt_sysroot=`$CC --print-sysroot 2>/dev/null`
|
|
+ # Treat "/" the same a an unset sysroot. It seems to be more
|
|
+ # compatible across host platforms that way!?
|
|
+ if test "$lt_sysroot" = /; then
|
|
+ lt_sysroot=
|
|
+ fi
|
|
fi
|
|
;; #(
|
|
+ yes|''|/)
|
|
+ ;; #(
|
|
/*)
|
|
lt_sysroot=`echo "$with_libtool_sysroot" | sed -e "$sed_quote_subst"`
|
|
;; #(
|
|
- no|'')
|
|
- ;; #(
|
|
*)
|
|
AC_MSG_RESULT([$with_libtool_sysroot])
|
|
AC_MSG_ERROR([The sysroot must be an absolute path.])
|