aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHuangbin Zhan <zhanhb88@gmail.com>2021-10-30 15:28:28 +0800
committerHauke Mehrtens <hauke@hauke-m.de>2022-04-05 00:20:24 +0200
commit1b595154560a8eda42f5509b242470f20ef9ef3a (patch)
treef33509fb864202dd053e4afdba4f38d9da807ab0 /include
parent56463b02213567e111fef64dc15543a004c2230e (diff)
downloadupstream-1b595154560a8eda42f5509b242470f20ef9ef3a.tar.gz
upstream-1b595154560a8eda42f5509b242470f20ef9ef3a.tar.bz2
upstream-1b595154560a8eda42f5509b242470f20ef9ef3a.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> (cherry picked from commit 044ca149f36a08f56fe827a20aa113837c58cb40)
Diffstat (limited to 'include')
-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; \