[include] autotools.mk: -B is not passed on by autoreconf, use -I instead - fixes...
[openwrt.git] / include / autotools.mk
index 2851731..24f9b72 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; \
                ) \