mjpegtools: fix build
This commit is contained in:
@@ -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
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user