xemu
xemu copied to clipboard
BUILD: Consider static linking against SDL2 on Windows / MacOS?
Unless some installer-like solution is given (eg, a deb file for Debian based Linux distro, which instructs the dependency) run-time dependency on SDL2 can causes headaches for many people as they need to deal with that manually. Maybe it's better to offer statically linked emulator executable against SDL2, so it will be a much easier situation for Windows and OSX.
The problem here: I simply cannot figure out how to do static linking against SDL2. Eg for Windows targets, if I try I got undefined symbols :( For OSX it does not even work, still dynamic linking without any notice/error etc from the linker ... :(
Is this a real problem at all? Especially that distributions of Xemu always include the corresponding SDL2 dll
or dylib
.
Closing this for now ...