0
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-11-27 07:18:58 +00:00
openwrt/tools/automake/files/aclocal
Leonardo Mörlein ffd9bd7b9b
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>
2022-07-14 12:57:12 +02:00

3 lines
75 B
Bash
Executable File

#!/usr/bin/env sh
${STAGING_DIR_HOST}/bin/aclocal.real $ACLOCAL_INCLUDE $@