summaryrefslogtreecommitdiffstats
path: root/include/autotools.mk
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-02-27 15:39:27 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-02-27 15:39:27 +0000
commitf4ea439183d9139c8a6098290ea878fac8a166d1 (patch)
treef5a01e92de2796e3cd6724c66b731740cc439e43 /include/autotools.mk
parent648bae02585e395a30e97f188935ffa2f6180a26 (diff)
[buildroot] add config.rpath and link it in autotools.mk if missing, some packages might need it, especially users of lib-link.m4 or iconv.m4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25753 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include/autotools.mk')
-rw-r--r--include/autotools.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/autotools.mk b/include/autotools.mk
index 24f9b721d..7797031fd 100644
--- a/include/autotools.mk
+++ b/include/autotools.mk
@@ -41,6 +41,8 @@ define autoreconf
-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; \
) \
);