0
0
mirror of https://git.openwrt.org/openwrt/openwrt.git/ synced 2025-10-05 23:42:55 +02:00

tools: libtool: always install all auxillary files

Remove the needless restriction
for which auxillary files are installed.
This aligns the behavior of libtoolize
with the existing behavior of automake.

This can prevent the seemingly random error
if autoreconf happens to be ran multiple times:

  configure: error: cannot find required auxiliary files: compile

Signed-off-by: Michael Pratt <mcpratt@pm.me>
Link: https://github.com/openwrt/openwrt/pull/19748
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Michael Pratt
2025-08-08 01:23:34 -04:00
committed by Robert Marko
parent a808086826
commit 4c0d64cb96

View File

@@ -0,0 +1,11 @@
--- a/libtoolize.in
+++ b/libtoolize.in
@@ -1066,7 +1066,7 @@ func_install_pkgaux_files ()
func_ltmain_update "$file" "$pkgauxdir" "$aux_dir" pkgaux_header
;;
*)
- test subproject = "$ltdl_mode" || continue
+ $opt_install || test subproject = "$ltdl_mode" || continue
func_copy "$file" "$pkgauxdir" "$aux_dir" pkgaux_header
;;
esac