pngquant: fix cross-compilation
This commit is contained in:
parent
860795fd7e
commit
1493e60f77
1 changed files with 2 additions and 0 deletions
|
@ -14,6 +14,8 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
preConfigure = "patchShebangs .";
|
preConfigure = "patchShebangs .";
|
||||||
|
|
||||||
|
configureFlags = lib.optionals (!stdenv.isi686 && !stdenv.isx86_64) [ "--disable-sse" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
buildInputs = [ libpng zlib lcms2 ];
|
buildInputs = [ libpng zlib lcms2 ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue