summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-10-16 16:44:49 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-10-16 16:44:49 +0000
commitdbc7f0050f6860a71c429785829d7255342dc981 (patch)
tree568ccb18ed668e57a09b1ecfebb191342c13159d /include
parent66e5badb52e03f0e0ed034c0c0e1e656b3a587bb (diff)
[include] autotools.mk: link config.rpath before running autoreconf, also touch ABOUT-NLS - needed by minidlna CVS version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28464 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r--include/autotools.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/autotools.mk b/include/autotools.mk
index 1ce25bc9f..f7b633d96 100644
--- a/include/autotools.mk
+++ b/include/autotools.mk
@@ -36,14 +36,14 @@ define autoreconf
$(foreach p,$(3), \
if [ -f $(p)/configure.ac ] || [ -f $(p)/configure.in ]; then \
[ -d $(p)/autom4te.cache ] && rm -rf autom4te.cache; \
- touch NEWS AUTHORS COPYING ChangeLog; \
+ [ -e $(p)/config.rpath ] || \
+ ln -s $(SCRIPT_DIR)/config.rpath $(p)/config.rpath; \
+ touch NEWS AUTHORS COPYING ABOUT-NLS ChangeLog; \
$(AM_TOOL_PATHS) $(STAGING_DIR_HOST)/bin/autoreconf -v -f -i -s \
$(if $(word 2,$(3)),--no-recursive) \
-B $(STAGING_DIR_HOST)/share/aclocal \
$(patsubst %,-I %,$(5)) \
$(patsubst %,-I %,$(4)) $(4) || true; \
- [ -e $(p)/config.rpath ] || \
- ln -s $(SCRIPT_DIR)/config.rpath $(p)/config.rpath;
fi; \
) \
);