浏览代码

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 <[email protected]>
Leonardo Mörlein 4 年之前
父节点
当前提交
ffd9bd7b9b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tools/automake/files/aclocal

+ 1 - 1
tools/automake/files/aclocal

@@ -1,2 +1,2 @@
 #!/usr/bin/env sh
 #!/usr/bin/env sh
-aclocal.real $ACLOCAL_INCLUDE $@
+${STAGING_DIR_HOST}/bin/aclocal.real $ACLOCAL_INCLUDE $@