[include] autotools.mk: fix autoreconf in subdirectories, thanks field_it for spottin...
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 20 Jan 2012 21:31:03 +0000 (21:31 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 20 Jan 2012 21:31:03 +0000 (21:31 +0000)
SVN-Revision: 29835

include/autotools.mk

index f7b633d96c23f1a0e2e2a7495ed7ead79c6f7eee..c5ba748ab94c78ac326ffb3b3a60ae2f13fcb71b 100644 (file)
@@ -43,7 +43,7 @@ define autoreconf
                                        $(if $(word 2,$(3)),--no-recursive) \
                                        -B $(STAGING_DIR_HOST)/share/aclocal \
                                        $(patsubst %,-I %,$(5)) \
-                                       $(patsubst %,-I %,$(4)) $(4) || true; \
+                                       $(patsubst %,-I %,$(4)) $(p) || true; \
                        fi; \
                ) \
        );