PSA: Change in default behaviour `-shared`

3 views
Skip to first unread message

Sam Clegg

unread,
May 20, 2026, 5:06:47 PM (2 days ago) May 20
to emscripte...@googlegroups.com
Historically, emscripten has always produced fake dynamic libraries when the `-shared` flag was used.

I'm hoping to change that in the next release: https://github.com/emscripten-core/emscripten/pull/25930

After this release, `-shared` will be essentially the same as `-sSIDE_MODULE` (i.e. produce a real dynamic library).   The old behaviour will still be available via `-sFAKE_DYLIBS` for those that need it (Please reply here if you depend on this behaviour).

cheers,
sam
Reply all
Reply to author
Forward
0 new messages