libpng: fix on mingw by disabling doCheck

This commit is contained in:
Vladimír Čunát 2016-02-09 19:14:18 +01:00
parent 49bec81730
commit 80509ab287

View File

@ -26,7 +26,9 @@ in stdenv.mkDerivation rec {
preConfigure = "export bin=$dev";
doCheck = true;
# it's hard to cross-run tests and some check programs didn't compile anyway
makeFlags = stdenv.lib.optional (!doCheck) "check_PROGRAMS=";
doCheck = ! stdenv ? cross;
postInstall = ''mv "$out/bin" "$dev/bin"'';