autotools.mk: fix autoreconf in subdirectories, thanks field_it for spotting this
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 f7b633d..c5ba748 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; \
                ) \
        );