diff options
author | Leonardo Mörlein <me@irrelefant.net> | 2021-08-10 00:48:40 +0200 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2022-07-14 12:57:12 +0200 |
commit | ffd9bd7b9b5f54b71bc4bba33f9a53dddc47d585 (patch) | |
tree | 43c324d8e3ea7d241656578969b91c3d764ec938 /tools/automake | |
parent | 3acd2ea14802aa39a8a25a2f20b1a6a20efca3f2 (diff) | |
download | upstream-ffd9bd7b9b5f54b71bc4bba33f9a53dddc47d585.tar.gz upstream-ffd9bd7b9b5f54b71bc4bba33f9a53dddc47d585.tar.bz2 upstream-ffd9bd7b9b5f54b71bc4bba33f9a53dddc47d585.zip |
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>
Diffstat (limited to 'tools/automake')
-rwxr-xr-x | tools/automake/files/aclocal | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/automake/files/aclocal b/tools/automake/files/aclocal index a60df10c42..689cb041f5 100755 --- a/tools/automake/files/aclocal +++ b/tools/automake/files/aclocal @@ -1,2 +1,2 @@ #!/usr/bin/env sh -aclocal.real $ACLOCAL_INCLUDE $@ +${STAGING_DIR_HOST}/bin/aclocal.real $ACLOCAL_INCLUDE $@ |