summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorLukas Larsson <lukas@erlang.org>2019-10-15 12:32:03 +0200
committerLukas Larsson <lukas@erlang.org>2019-10-18 10:00:00 +0200
commitd30eba8d6302d970fecfd976a9acf30cba2d2c10 (patch)
treec02a348ee3baae3b59821b487bc6a2ef4e1d49d4 /Makefile.in
parent91c1fc72d9d6e8862e77a80a9ad13ae6746b040f (diff)
downloaderlang-d30eba8d6302d970fecfd976a9acf30cba2d2c10.tar.gz
erts: Fix compiler server use on Windows
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 9be91a4b20..12ae1d4a82 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -527,7 +527,11 @@ dep depend:
# Bootstraps...
# ----------------------------------------------------------------------
ifeq ($(TARGET),win32)
+
+# Sleep for 11 seconds if we use ERLC server in order to let it
+# terminate before we remove the bootstrap files
bootstrap_setup: check_recreate_primary_bootstrap bootstrap_setup_target
+ -$(V_at)(test X"$$ERLC_USE_SERVER" = X"yes" || test X"$$ERLC_USE_SERVER" = X"true") && sleep 11
@rm -f $(BOOTSTRAP_ROOT)/bootstrap/bin/erl.exe \
$(BOOTSTRAP_ROOT)/bootstrap/bin/erlc.exe \
$(BOOTSTRAP_ROOT)/bootstrap/bin/escript.exe \