From 1abf35be5bcb8be7a1ebcbf79a5b989671836fa8 Mon Sep 17 00:00:00 2001 From: Carles Pagès Date: Wed, 7 Aug 2013 20:27:31 +0200 Subject: 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. --- pkgs/development/libraries/SDL2_gfx/default.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pkgs/development/libraries/SDL2_gfx') 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",,' \ $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/; ''; -- cgit 1.4.1