Yes I know that the ideal thing would be to make packages for each
distro (even better, let the maintainers do it, but let’s say that
repos don’t work for commercial games :P), but I keep getting demands
for being able to just get a .tar.gz that you can decompress in a
directory you want (i.e. not packages), especially from those not
using Ubuntu. This means bundling the libraries to make sure it works,
and while it seems most work just fine, SDL2 causes it to crash when
run on a non-Ubuntu distro (and only that one, replacing SDL2 with the
distro one works even if the rest are left untouched).
So here’s the question: is there some sort of SDL2 build that’s
reasonably portable among Linux distros? I only care about x86-64 for
binary builds, in case somebody wonders (if you want 32-bit then just
rebuild from source >_>). Or should I just put a README and insist on
what libraries need to be installed?
PS: I’m using my own SDL2 build rather than the Ubuntu one, so maybe
that isn’t helping matters But I know there are some fixes post
2.0.3 that are kind of important (e.g. IME support on Linux was only
added after 2.0.3.9008, I think?).