Bug#909740: libsdl2-dev: No longer multi-arch co-installable

Simon McVittie smcv at debian.org
Tue Dec 10 09:00:03 GMT 2019


On Tue, 10 Dec 2019 at 08:50:56 +0000, Simon McVittie wrote:
> I suppose if one of the SDL2_foo family uses #include "SDL_bar.h"
> and expects to find an adjacent SDL2 that way, or if
> something tries to second-guess the compiler and read
> header files directly, that might be a reason to revert
> https://salsa.debian.org/sdl-team/libsdl2/merge_requests/5
> (the one that goes via pkg-config) and apply
> https://salsa.debian.org/sdl-team/libsdl2/merge_requests/3 (my original
> proposal with a forwarding header) instead

For what it's worth, Fedora has a similar forwarding header, except that
they don't have an equivalent of /usr/include/${multiarch}, so they have
to hard-code every supported architecture in their forwarding header:

https://src.fedoraproject.org/rpms/SDL2/blob/master/f/SDL_config.h
https://src.fedoraproject.org/rpms/SDL2/blob/master/f/SDL2.spec#_106

    smcv



More information about the Pkg-sdl-maintainers mailing list