Issue: I would like to dynamically load the SDL library and its functions at runtime, like you can usually do with other dynamic libraries. However, I obviously can’t use SDL to load itself without some sort of bootstrap problem.
In order to do what I wish, I think I have three options:
1. Attempt to modify the SDL source to extricate the SDL_loadso functionality into a completely separate source header, and include that in my project. 2. Simply write my own equivalent loadso layer. 3. Find an equivalent cross-platform loadso library.
From what I have found so far, there are no libraries that have both the functionality of SDL_loadso and maintain the same level of cross-platform support.
Am I missing something obvious, or does anyone have any relevant tips/experience to proceed with this?
Thanks for your time.