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:
@@ -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> ;
|
||||
|
||||
Reference in New Issue
Block a user