]> git.ipfire.org Git - thirdparty/libtool.git/commit
ltmain.in: Handle trailing slashes on install commands
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 16 Apr 2022 17:58:15 +0000 (18:58 +0100)
committerIleana Dumitrescu <ileanadumitrescu95@gmail.com>
Wed, 20 Nov 2024 14:41:17 +0000 (16:41 +0200)
commit65026af3bc318d984635572939a9ae8eb0415ad5
tree669734a83ee93ddfb8b94a5b219ee137d5ec12b7
parent5586070a7199737861f4647c1dd81cd028435b76
ltmain.in: Handle trailing slashes on install commands

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.

* build-aux/ltmain.in: Strip trailing slashes on install commands.
* NEWS: Update.
NEWS
build-aux/ltmain.in