File 4692-erts-Fix-compiler-server-use-on-Windows.patch of Package erlang
From d30eba8d6302d970fecfd976a9acf30cba2d2c10 Mon Sep 17 00:00:00 2001 From: Lukas Larsson <lukas@erlang.org> Date: Tue, 15 Oct 2019 12:32:03 +0200 Subject: [PATCH 2/2] erts: Fix compiler server use on Windows --- Makefile.in | 4 ++++ 1 file changed, 4 insertions(+) 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 \ -- 2.16.4