3
0
Fork 0
forked from mirrors/nixpkgs

treewide: Make explicit that 'dev' output of SDL is used

This commit is contained in:
Tuomas Tynkkynen 2016-08-24 19:54:30 +03:00
parent e17bc25943
commit 3243c4f272

View file

@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
buildInputs = [ libdv libjpeg libpng pkgconfig ]
++ lib.optional (!withMinimal) [ gtk libX11 SDL SDL_gfx ];
NIX_CFLAGS_COMPILE = lib.optional (!withMinimal) "-I${SDL}/include/SDL";
NIX_CFLAGS_COMPILE = lib.optional (!withMinimal) "-I${SDL.dev}/include/SDL";
postPatch = ''
sed -i -e '/ARCHFLAGS=/s:=.*:=:' configure