automake: always use correct path for aclocal.real
authorLeonardo Mörlein <me@irrelefant.net>
Mon, 9 Aug 2021 22:48:40 +0000 (00:48 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Thu, 14 Jul 2022 10:57:12 +0000 (12:57 +0200)
commitffd9bd7b9b5f54b71bc4bba33f9a53dddc47d585
tree43c324d8e3ea7d241656578969b91c3d764ec938
parent3acd2ea14802aa39a8a25a2f20b1a6a20efca3f2
automake: always use correct path for aclocal.real

Before this commit, it was assumed that aclocal.real is in the PATH. While
this was fine for the normal build workflow, this led to some issues if

    make TOPDIR="$(pwd)" -C "$pkgdir" compile

was called manually. The command failed with:

    /home/.../openwrt/staging_dir/host/bin/aclocal: line 2: aclocal.real: command not found
    autoreconf: /home/.../openwrt/staging_dir/host/bin/aclocal failed with exit status: 127

After the commit, the package is built sucessfully.

Signed-off-by: Leonardo Mörlein <me@irrelefant.net>
tools/automake/files/aclocal