mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 00:04:06 -09:00
package/pkg-autotools.mk: LIBTOOL_PATCH_HOOK: also handle libtool 2.5.x
Fixes: https://autobuild.buildroot.org/results/ac60d29fbcd9fb8ddb21b76b3b185e45e580c006/ Libtool 2.5.x has been released and is starting to be used by upstreams when generating release tarballs (E.G. openvpn-2.6.14). https://lists.gnu.org/archive/html/autotools-announce/2024-09/msg00000.html It needs to be patched similar to earlier versions, and the existing v2.4.4 patch luckily still applies, so extend LIBTOOL_PATCH_HOOK to also patch 2.5.x versions with that. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Tested-by: Bernd Kuhls <bernd@kuhls.net> [fixes build of openvpn-2.6.14]
This commit is contained in:
@@ -74,6 +74,8 @@ define LIBTOOL_PATCH_HOOK
|
||||
else \
|
||||
patch -i support/libtool/buildroot-libtool-v2.4.patch $${i}; \
|
||||
fi \
|
||||
elif test $${ltmain_version} = "2.5"; then\
|
||||
patch -i support/libtool/buildroot-libtool-v2.4.4.patch $${i}; \
|
||||
fi \
|
||||
done
|
||||
endef
|
||||
|
||||
Reference in New Issue
Block a user