aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Mörlein <me@irrelefant.net>2021-08-10 00:48:40 +0200
committerChristian Marangi <ansuelsmth@gmail.com>2022-07-14 12:57:12 +0200
commitffd9bd7b9b5f54b71bc4bba33f9a53dddc47d585 (patch)
tree43c324d8e3ea7d241656578969b91c3d764ec938
parent3acd2ea14802aa39a8a25a2f20b1a6a20efca3f2 (diff)
downloadupstream-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>
-rwxr-xr-xtools/automake/files/aclocal2
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 $@