From 003a3c29c12427c5a424f2332aa4ba00a8554a88 Mon Sep 17 00:00:00 2001 From: Basil Fierz Date: Wed, 25 Nov 2020 00:04:10 +0100 Subject: [PATCH] Adapt for Emscripten 2.0 change of default behaviour for archives (#674) When building archives Emscripten 2.0 requires the usage of the `-r` in order to create an archive and not link an executable. --- src/tools/emscripten.jam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/emscripten.jam b/src/tools/emscripten.jam index a12576070..0a765765b 100644 --- a/src/tools/emscripten.jam +++ b/src/tools/emscripten.jam @@ -94,7 +94,7 @@ actions compile.c++ actions archive { - "$(CONFIG_COMMAND)" $(AROPTIONS) -o "$(<)" "$(>)" + "$(CONFIG_COMMAND)" $(AROPTIONS) -r -o "$(<)" "$(>)" } toolset.flags emscripten.link USER_OPTIONS ;