mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03:00
mjpegtools: remove SDL input when build is minimal
This commit is contained in:
parent
7b2106c32d
commit
192d7a4cba
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ libdv libjpeg libpng pkgconfig ]
|
||||
++ lib.optional (!withMinimal) [ gtk libX11 SDL SDL_gfx ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = [ "-I${SDL}/include/SDL" ];
|
||||
NIX_CFLAGS_COMPILE = lib.optional (!withMinimal) "-I${SDL}/include/SDL";
|
||||
|
||||
postPatch = ''
|
||||
sed -i -e '/ARCHFLAGS=/s:=.*:=:' configure
|
||||
|
Loading…
Reference in New Issue
Block a user