aboutsummaryrefslogtreecommitdiffstats
path: root/include/autotools.mk
diff options
context:
space:
mode:
authorHuangbin Zhan <zhanhb88@gmail.com>2021-10-30 15:28:28 +0800
committerPaul Spooren <mail@aparcar.org>2022-03-28 00:15:52 +0100
commit044ca149f36a08f56fe827a20aa113837c58cb40 (patch)
tree3221f8b34a4223c0a0e838525cd187544f59c6c4 /include/autotools.mk
parenta3764ee29dd09394fa750c78160e300d86532561 (diff)
downloadupstream-044ca149f36a08f56fe827a20aa113837c58cb40.tar.gz
upstream-044ca149f36a08f56fe827a20aa113837c58cb40.tar.bz2
upstream-044ca149f36a08f56fe827a20aa113837c58cb40.zip
build: autotools: fix cache path
the cache directory should be autom4te.cache in all $(PKG_AUTOMAKE_PATHS) rather than $(PKG_BUILD_DIR)/autom4te.cache only Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
Diffstat (limited to 'include/autotools.mk')
-rw-r--r--include/autotools.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/autotools.mk b/include/autotools.mk
index 0f0d608b26..e9a7a82248 100644
--- a/include/autotools.mk
+++ b/include/autotools.mk
@@ -35,7 +35,7 @@ define autoreconf
$(patsubst %,rm -f %;,$(2)) \
$(foreach p,$(3), \
if [ -f $(p)/configure.ac ] || [ -f $(p)/configure.in ]; then \
- [ -d $(p)/autom4te.cache ] && rm -rf autom4te.cache; \
+ [ -d $(p)/autom4te.cache ] && rm -rf $(p)/autom4te.cache; \
[ -e $(p)/config.rpath ] || \
ln -s $(SCRIPT_DIR)/config.rpath $(p)/config.rpath; \
touch NEWS AUTHORS COPYING ABOUT-NLS ChangeLog; \