Merge pull request #145672 from sikmir/pngquant

pngquant: fix cross-compilation
This commit is contained in:
Jörg Thalheim 2021-11-13 08:46:53 +00:00 committed by GitHub
commit 258e602747
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,6 +14,8 @@ stdenv.mkDerivation rec {
preConfigure = "patchShebangs .";
configureFlags = lib.optionals (!stdenv.isi686 && !stdenv.isx86_64) [ "--disable-sse" ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libpng zlib lcms2 ];