summaryrefslogtreecommitdiff
path: root/solenv/gbuild/extensions/post_AuxTargets.mk
diff options
context:
space:
mode:
Diffstat (limited to 'solenv/gbuild/extensions/post_AuxTargets.mk')
-rw-r--r--solenv/gbuild/extensions/post_AuxTargets.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/gbuild/extensions/post_AuxTargets.mk b/solenv/gbuild/extensions/post_AuxTargets.mk
index b8a002fff95a..ce4a5cbfc26b 100644
--- a/solenv/gbuild/extensions/post_AuxTargets.mk
+++ b/solenv/gbuild/extensions/post_AuxTargets.mk
@@ -50,7 +50,7 @@ fetch: $(SRCDIR)/src.downloaded
# fixme: can we prevent these exports in the first place?
$(SRCDIR)/Env.Host.sh: autogen.lastrun configure.in ooo.lst.in set_soenv.in
- $(if $(gb_MINISOLARENV),$(SRCDIR)/autogen.sh,@echo "cannot reconfigure from within solarenv" && rm -f $(SRCDIR)/Env.Host.sh && exit 2)
+ $(if $(filter reconfigure,$(gb_SourceEnvAndRecurse_STAGE)),$(SRCDIR)/autogen.sh,@echo "cannot reconfigure from within solarenv" && rm -f $(SRCDIR)/Env.Host.sh && exit 2)
$(WORKDIR)/bootstrap:
@cd $(SRCDIR) && ./bootstrap