On Sat, Sep 29, 2018 at 01:39:05PM +0000, Hugh McMaster wrote: > On Saturday, 29 September 2018 5:06 AM, Adrian Bunk wrote: > > The following fixes it properly: > > - revert the override_dh_install change, and > > - add --includedir=\$${prefix}/include/$(DEB_HOST_MULTIARCH) to confflags > > This won't do what you think it will. Unfortunately: > > 1. All headers end up being installed into /usr/include/<triplet>/SDL2. > -- Not what we want.
This is not a problem. > 2. /usr/include/<triplet>/SDL2 is hard-coded into sdl2-config, causing a file > conflict for multi-arch installations. >... This is actually a problem. The minimal fix for that problem would be to add a dependency on pkg-config to libsdl2-dev, and then do --cflags) - echo -I@includedir@/SDL2 @SDL_CFLAGS@ + pkg-config --cflags sdl2 ;; cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed