forked from mirrors/nixpkgs
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 ]
|
||||
++ 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
|
||||
|
|
Loading…
Reference in a new issue