3
0
Fork 0
forked from mirrors/nixpkgs

mjpegtools: fix build

This commit is contained in:
Nikolay Amiantov 2016-08-23 15:33:29 +03:00
parent 594eb327aa
commit 7b2106c32d

View file

@ -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
'';