aboutsummaryrefslogtreecommitdiffstats
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
commit7fcc8371c6b1d8e0b1993c3cc2c552066baa37f0 (patch)
treef5a01e92de2796e3cd6724c66b731740cc439e43 /include/autotools.mk
parentb7f394ff410b279711555e3e180c5ffa9fe818bc (diff)
downloadmaster-187ad058-7fcc8371c6b1d8e0b1993c3cc2c552066baa37f0.tar.gz
master-187ad058-7fcc8371c6b1d8e0b1993c3cc2c552066baa37f0.tar.bz2
master-187ad058-7fcc8371c6b1d8e0b1993c3cc2c552066baa37f0.zip
[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 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; \
) \
);