Skip to content

Commit 8e6d3e9

Browse files
committed
fix race condition when calling erl in makefile
1 parent e8312c8 commit 8e6d3e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile.win

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ clean:
5858
del /f /q priv
5959

6060
Makefile.auto.win:
61-
erl -noshell -s init stop -eval "io:setopts(standard_io, [{encoding, unicode}]), io:format(\"ERTS_INCLUDE_PATH=~ts/erts-~ts/include/\", [code:root_dir(), erlang:system_info(version)])." > $@
61+
erl -noshell -eval "io:setopts(standard_io, [{encoding, unicode}]), io:format(\"ERTS_INCLUDE_PATH=~ts/erts-~ts/include/\", [code:root_dir(), erlang:system_info(version)])., erlang:halt()." > $@
6262

6363
!IFDEF ERTS_INCLUDE_PATH
6464
priv\sqlite3_nif.dll:

0 commit comments

Comments
 (0)