libjpeg(-turbo): fix on mingw

By porting a patch from msys2.
This commit is contained in:
Vladimír Čunát
2016-04-23 10:52:04 +02:00
parent bd3d377e5e
commit 7d4ebb526c
2 changed files with 23 additions and 0 deletions
@@ -8,6 +8,10 @@ stdenv.mkDerivation rec {
sha256 = "0gi349hp1x7mb98s4mf66sb2xay2kjjxj9ihrriw0yiy0k9va6sj";
};
patches =
stdenv.lib.optional (stdenv.cross.libc or null == "msvcrt")
./mingw-boolean.patch;
outputs = [ "dev" "out" "doc" "bin" ];
nativeBuildInputs = [ nasm ];