2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-14 12:42:11 +00:00

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.
This commit is contained in:
Basil Fierz
2020-11-25 00:04:10 +01:00
committed by GitHub
parent 5a7c36c8b5
commit 003a3c29c1

View File

@@ -94,7 +94,7 @@ actions compile.c++
actions archive
{
"$(CONFIG_COMMAND)" $(AROPTIONS) -o "$(<)" "$(>)"
"$(CONFIG_COMMAND)" $(AROPTIONS) -r -o "$(<)" "$(>)"
}
toolset.flags emscripten.link USER_OPTIONS <linkflags> ;