Fix depcomp being deleted in GCC

On my system, (usually) depcomp is deleted during autoreconf. The
reasons for this are very unclear but appear to be timestamp related.
This seems to fix it.
This commit is contained in:
Samuel Tyler 2025-09-29 16:34:56 +10:00
parent 1e91ce56db
commit 35e7076e2f
2 changed files with 2 additions and 2 deletions

View file

@ -101,13 +101,12 @@ src_prepare() {
# Regenerate autotools
# configure
touch depcomp
find . -name configure | sed 's:/configure::' | while read d; do
pushd "${d}"
AUTOMAKE=automake-1.15 ACLOCAL=aclocal-1.15 autoreconf-2.69 -fiv
popd
done
# Because GCC is stupid, copy depcomp back in
cp "${PREFIX}/share/automake-1.15/depcomp" .
# Makefile.in only
BACK="${PWD}"
find . -type d \