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