summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/Makefile.autotools.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/Makefile.autotools.in b/package/Makefile.autotools.in
index 6d474402e..7f2afffc7 100644
--- a/package/Makefile.autotools.in
+++ b/package/Makefile.autotools.in
@@ -310,7 +310,8 @@ else
$(1)-install-staging:
endif
-$(1)-build: $(1)-configure $$($(2)_TARGET_BUILD) \
+$(1)-build: $(if $$($(2)_SKIP_CONFIGURE),$(1)-patch,$(1)-configure)\
+ $$($(2)_TARGET_BUILD) \
$$($(2)_HOOK_POST_BUILD)
$(1)-configure: $(1)-autoreconf $$($(2)_TARGET_CONFIGURE)