Merge pull request #46773 from mcmtroffaes/feature/fix-brotli-mingw

brotli: ensure CMAKE_SYSTEM_NAME=Windows on mingw cross builds
This commit is contained in:
Matthew Bauer 2018-09-22 17:12:10 -05:00 committed by GitHub
commit 3bc7ad9364
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,6 +15,9 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
cmakeFlags = stdenv.lib.optional
(stdenv.hostPlatform.libc == "msvcrt") "-DCMAKE_SYSTEM_NAME=Windows";
outputs = [ "out" "dev" "lib" ];
doCheck = true;