3
0
Fork 0
forked from mirrors/nixpkgs

tree-wide: SDL may not have a .dev

This commit is contained in:
Peter Hoeg 2022-05-10 13:09:27 +08:00
parent ce0f3b159d
commit 112e6456a3

View file

@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
pkg-config
];
buildInputs = [
SDL.dev
(lib.getDev SDL)
SDL_image
mesa
libtheora
@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
];
# Fix SDL include problems
NIX_CFLAGS_COMPILE="-I${SDL.dev}/include/SDL -I${SDL_image}/include/SDL";
NIX_CFLAGS_COMPILE="-I${lib.getDev SDL}/include/SDL -I${SDL_image}/include/SDL";
# Fix linking errors
makeFlags = [
"ZAZ_LIBS+=-lSDL"