mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
mjpegtools: fix build
This commit is contained in:
parent
594eb327aa
commit
7b2106c32d
@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ libdv libjpeg libpng pkgconfig ]
|
||||
++ lib.optional (!withMinimal) [ gtk libX11 SDL SDL_gfx ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = [ "-I${SDL}/include/SDL" ];
|
||||
|
||||
postPatch = ''
|
||||
sed -i -e '/ARCHFLAGS=/s:=.*:=:' configure
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user