autotools.mk: -B is not passed on by autoreconf, use -I instead - fixes PKG_MACRO_PATHS
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 2 Feb 2011 18:18:38 +0000 (18:18 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 2 Feb 2011 18:18:38 +0000 (18:18 +0000)
SVN-Revision: 25312

include/autotools.mk

index 2851731ef3b3b5ac67514f5da7ef84c41dfc6b74..24f9b721ddf1ad401d8135cb8e5e7c395b320cf3 100644 (file)
@@ -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; \
                ) \