treewide: Make explicit that 'dev' output of SDL is used
This commit is contained in:
parent
e17bc25943
commit
3243c4f272
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ libdv libjpeg libpng pkgconfig ]
|
buildInputs = [ libdv libjpeg libpng pkgconfig ]
|
||||||
++ lib.optional (!withMinimal) [ gtk libX11 SDL SDL_gfx ];
|
++ 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 = ''
|
postPatch = ''
|
||||||
sed -i -e '/ARCHFLAGS=/s:=.*:=:' configure
|
sed -i -e '/ARCHFLAGS=/s:=.*:=:' configure
|
||||||
|
Loading…
x
Reference in New Issue
Block a user