mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
SDL2_gfx: add simlinks for headers with SDL_*
All the SDL2 libraries distribute headers with SDL_* names, under SDL2. Do the same for the gfx one. I told upstream, but no changes so far.
This commit is contained in:
parent
18ecb7c62a
commit
1abf35be5b
@ -18,6 +18,9 @@ stdenv.mkDerivation rec {
|
||||
sed -i -e 's,"SDL.h",<SDL2/SDL.h>,' \
|
||||
$out/include/SDL2/*.h
|
||||
|
||||
ln -s $out/include/SDL2/SDL2_framerate.h $out/include/SDL2/SDL_framerate.h;
|
||||
ln -s $out/include/SDL2/SDL2_gfxPrimitives.h $out/include/SDL2/SDL_gfxPrimitives.h;
|
||||
ln -s $out/include/SDL2/SDL2_rotozoom.h $out/include/SDL2/SDL_rotozoom.h;
|
||||
ln -s $out/include/SDL2/*.h $out/include/;
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user