sdl2-compat builds with SDL_JOYSTICK_DISABLED
not sure why it builds with SDL_JOYSTICK_DISABLED
so that ./testjoystick prints: ERROR: SDL compiled without Joystick support.
maybe because it uses SDL_config_minimal ...
include/SDL2/SDL_config_ngage.h:#define SDL_JOYSTICK_DISABLED 1
include/SDL2/SDL_config.h.cmake:#cmakedefine SDL_JOYSTICK_DISABLED @SDL_JOYSTICK_DISABLED@
include/SDL2/SDL_config.h.in:#undef SDL_JOYSTICK_DISABLED
include/SDL2/SDL_config_minimal.h:#define SDL_JOYSTICK_DISABLED 1
include/SDL2/SDL_config_winrt.h:#define SDL_JOYSTICK_DISABLED 1
This fixme is related: https://github.com/libsdl-org/sdl2-compat/blob/2c8012aedceb9bbbde50c01d3ff6ff1e052a13c4/CMakeLists.txt#L568-L569
SDL3 eliminated installation of generated headers.
I think the sdl2-compat headers should assume everything is available, and internally fail those functions if dlsym cannot find something.
How can I build sdl2-compat with joystick support enabled? Is that possible at the moment? Installed sdl3 and sdl2-compat from aur last time.