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/25930After 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