2 ms·
SDL2 will even allow the user to override the static library and substitute their dynamic copy at runtime, so even though you distribute it statically you don't
by AnIdiotOnTheNet 5y ago
SDL2 will even allow the user to override the static library and substitute their dynamic copy at runtime, so even though you distribute it statically you don't lose out on the advantages of updates.
...why don't all libraries work that way?
- badsectoracula 5y agoYou can override a bundled dynamic library so aside from having a single file when you link statically there isn't much of a practical use for it from the user's perspective and from the library developer's perspective it is a PITA (SDL2 does a lot of manual symbol juggling).