optipng: use system libpng & zlib, fix cross builds and add support for static builds

This commit is contained in:
Jaka Hudoklin
2014-04-01 01:43:56 +02:00
parent 4eefc983a2
commit c3524a8dd6
3 changed files with 26 additions and 2 deletions
+2
View File
@@ -21,6 +21,8 @@ stdenv.mkDerivation rec {
passthru = {};
};
configureFlags = "--enable-static";
meta = {
description = "The official reference implementation for the PNG file format";
homepage = http://www.libpng.org/pub/png/libpng.html;