aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/package.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/package.mk b/include/package.mk
index 5636b0b6a1..8a10569d6c 100644
--- a/include/package.mk
+++ b/include/package.mk
@@ -290,6 +290,12 @@ define Build/Prepare
endef
define Build/Configure/Default
+ (cd $(PKG_BUILD_DIR) ; \
+ [ -e configure.in ] && touch configure.in ; \
+ [ -e aclocal.m4 ] && touch aclocal.m4 ; \
+ [ -e Makefile.in ] && touch Makefile.in ; \
+ [ -e configure ] && touch configure ; \
+ );
(cd $(PKG_BUILD_DIR)/$(strip $(3)); \
if [ -x configure ]; then \
$(TARGET_CONFIGURE_OPTS) \