mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-28 03:32:38 -09:00
Fixes: https://autobuild.buildroot.org/results/e6159cee14f84569c85a61f77824b2b58d68a4bc/ Libtool 2.6.x is starting to be used by upstreams when generating release tarballs (e.g. cryptsetup-2.8.8). As LIBTOOL_PATCH_HOOK does not know about it, ltmain.sh is left unpatched, so libtool relinks libraries at install time and adds -L/usr/lib, which is rejected by the toolchain wrapper: i686-buildroot-linux-gnu-gcc: ERROR: unsafe header/library path used in cross-compilation: '-L/usr/lib' The v2.4.4 patch no longer applies cleanly, so add a v2.6 variant, rebased on libtool 2.6.2, and use it for 2.6.x versions. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Assisted-by: Claude:claude-opus-5 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>