From: Jo-Philipp Wich <jow@openwrt.org>
Date: Wed, 2 Feb 2011 18:18:38 +0000 (+0000)
Subject: autotools.mk: -B is not passed on by autoreconf, use -I instead - fixes PKG_MACRO_PATHS
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=4fec7f7edb0718c322e1ec574e0b02a227551db0;p=openwrt%2Fstaging%2Fjow.git

autotools.mk: -B is not passed on by autoreconf, use -I instead - fixes PKG_MACRO_PATHS

SVN-Revision: 25312
---

diff --git a/include/autotools.mk b/include/autotools.mk
index 2851731ef3..24f9b721dd 100644
--- a/include/autotools.mk
+++ b/include/autotools.mk
@@ -39,7 +39,7 @@ define autoreconf
 				touch NEWS AUTHORS COPYING ChangeLog; \
 				$(AM_TOOL_PATHS) $(STAGING_DIR_HOST)/bin/autoreconf -v -f -i -s \
 					-B $(STAGING_DIR_HOST)/share/aclocal \
-					$(patsubst %,-B %,$(5)) \
+					$(patsubst %,-I %,$(5)) \
 					$(patsubst %,-I %,$(4)) $(4) || true; \
 			fi; \
 		) \