pngquant: fix cross-compilation

This commit is contained in:
Nikolay Korotkiy 2021-11-12 22:10:58 +03:00
parent 860795fd7e
commit 1493e60f77
No known key found for this signature in database
GPG key ID: D1DE6D7F693663A5

View file

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