mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-09 12:05:50 +03:00
Merge pull request #145672 from sikmir/pngquant
pngquant: fix cross-compilation
This commit is contained in:
commit
258e602747
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…
Add table
Add a link
Reference in a new issue