diff options
author | Carles Pagès <page@cubata.homelinux.net> | 2013-08-07 20:27:31 +0200 |
---|---|---|
committer | Carles Pagès <page@cubata.homelinux.net> | 2013-08-27 22:55:42 +0200 |
commit | 1abf35be5bcb8be7a1ebcbf79a5b989671836fa8 (patch) | |
tree | 5b6925e37d1d1c4399458702483dd208b191c1fa /pkgs/development | |
parent | 18ecb7c62a86f33c0c423df53a37ed1a6869b215 (diff) |
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.
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/libraries/SDL2_gfx/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/libraries/SDL2_gfx/default.nix b/pkgs/development/libraries/SDL2_gfx/default.nix index f95dce0ac494..693b7bf8fe19 100644 --- a/pkgs/development/libraries/SDL2_gfx/default.nix +++ b/pkgs/development/libraries/SDL2_gfx/default.nix @@ -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/; ''; |