diff --git a/include/package.mk b/include/package.mk index 8d9050930..9a947f358 100644 --- a/include/package.mk +++ b/include/package.mk @@ -263,7 +263,7 @@ endef define Build/Configure/Default @(cd $(PKG_BUILD_DIR)/$(3); \ - [ \! -x configure ] || \ + if [ -x configure ]; then \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \ @@ -287,6 +287,7 @@ define Build/Configure/Default --infodir=/usr/info \ $(DISABLE_NLS) \ $(1); \ + fi; \ ) endef