Skip to content

Commit

Permalink
automake: always use correct path for aclocal.real
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
lemoer authored and Ansuel committed Jul 14, 2022
1 parent 3acd2ea commit ffd9bd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/automake/files/aclocal
@@ -1,2 +1,2 @@
#!/usr/bin/env sh
aclocal.real $ACLOCAL_INCLUDE $@
${STAGING_DIR_HOST}/bin/aclocal.real $ACLOCAL_INCLUDE $@

0 comments on commit ffd9bd7

Please sign in to comment.