summaryrefslogtreecommitdiffstats
path: root/include/autotools.mk
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-02-27 15:39:27 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-02-27 15:39:27 +0000
commit073c5e0e74f504b9b63d51b3e5b092bde144e66b (patch)
tree6a95670d57f82b6c7a659152decc2bae9ba68492 /include/autotools.mk
parentc864843cbfc712648e81d62ce44d9e2d09cc3765 (diff)
downloadmaster-31e0f0ae-073c5e0e74f504b9b63d51b3e5b092bde144e66b.tar.gz
master-31e0f0ae-073c5e0e74f504b9b63d51b3e5b092bde144e66b.tar.bz2
master-31e0f0ae-073c5e0e74f504b9b63d51b3e5b092bde144e66b.zip
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
SVN-Revision: 25753
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 24f9b721dd..7797031fd6 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; \
) \
);