mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 00:32:12 +02:00
Whilst this is an alpha release, it makes sense for us to stay close to upstream. We can drop a lot of merged patches which is great to see. During testing, one bug showed up, particularly on mip64 due to an issue with FILECMD being changed to use AC_CHECK_PROG incorredly. A patch has been added for that and sent upstream. (From OE-Core rev: d572297c5810fb248af633014eac96f8ea0a739e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
37 lines
1.5 KiB
Diff
37 lines
1.5 KiB
Diff
From: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Subject: [PATCH 01/12] ltmain.in: Handle trailing slashes on install commands correctly
|
|
|
|
A command like:
|
|
|
|
libtool --mode=install /usr/bin/install -c gck-roots-store-standalone.la '/image/usr/lib/gnome-keyring/standalone/'
|
|
|
|
where the path ends with a trailing slash currently fails. This occurs in
|
|
software like gnome-keyring or pulseaudio and is because the comparision
|
|
code doesn't see the paths as equal. Strip both paths to ensure this works
|
|
reliably.
|
|
|
|
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
|
|
Upstream-Status: Submitted [https://lists.gnu.org/archive/html/libtool-patches/2021-10/msg00010.html]
|
|
|
|
Index: libtool-2.5.0/build-aux/ltmain.in
|
|
===================================================================
|
|
--- libtool-2.5.0.orig/build-aux/ltmain.in
|
|
+++ libtool-2.5.0/build-aux/ltmain.in
|
|
@@ -2382,8 +2382,14 @@ func_mode_install ()
|
|
func_append dir "$objdir"
|
|
|
|
if test -n "$relink_command"; then
|
|
+ # Strip any trailing slash from the destination.
|
|
+ func_stripname '' '/' "$libdir"
|
|
+ destlibdir=$func_stripname_result
|
|
+ func_stripname '' '/' "$destdir"
|
|
+ s_destdir=$func_stripname_result
|
|
+
|
|
# Determine the prefix the user has applied to our future dir.
|
|
- inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"`
|
|
+ inst_prefix_dir=`$ECHO "X$s_destdir" | $Xsed -e "s%$destlibdir\$%%"`
|
|
|
|
# Don't allow the user to place us outside of our expected
|
|
# location b/c this prevents finding dependent libraries that
|