Skip to content
Snippets Groups Projects
Commit 044ca149 authored by Huangbin Zhan's avatar Huangbin Zhan Committed by Paul Spooren
Browse files

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: default avatarHuangbin Zhan <zhanhb88@gmail.com>
parent a3764ee2
Branches
No related tags found
2 merge requests!191Uplift to OpenWRT 23.05.0-rc3,!187Uplift to OpenWRT 23.05.0-rc3
...@@ -35,7 +35,7 @@ define autoreconf ...@@ -35,7 +35,7 @@ define autoreconf
$(patsubst %,rm -f %;,$(2)) \ $(patsubst %,rm -f %;,$(2)) \
$(foreach p,$(3), \ $(foreach p,$(3), \
if [ -f $(p)/configure.ac ] || [ -f $(p)/configure.in ]; then \ 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 ] || \ [ -e $(p)/config.rpath ] || \
ln -s $(SCRIPT_DIR)/config.rpath $(p)/config.rpath; \ ln -s $(SCRIPT_DIR)/config.rpath $(p)/config.rpath; \
touch NEWS AUTHORS COPYING ABOUT-NLS ChangeLog; \ touch NEWS AUTHORS COPYING ABOUT-NLS ChangeLog; \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment