diff options
| author | Michael Pratt | 2025-08-08 05:23:34 +0000 |
|---|---|---|
| committer | Robert Marko | 2025-08-11 20:28:41 +0000 |
| commit | 4c0d64cb9696abd982dc51956f58f5deee08d192 (patch) | |
| tree | 9ad7885559453db3135ae7c9fffebdc5999c9b19 | |
| parent | a808086826a75976947fc38ad0c58b20e398f7b9 (diff) | |
| download | openwrt-4c0d64cb9696abd982dc51956f58f5deee08d192.tar.gz | |
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>
| -rw-r--r-- | tools/libtool/patches/001-always-install-aux.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/libtool/patches/001-always-install-aux.patch b/tools/libtool/patches/001-always-install-aux.patch new file mode 100644 index 0000000000..f9e0d959f9 --- /dev/null +++ b/tools/libtool/patches/001-always-install-aux.patch @@ -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 |