mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 20:39:04 +02:00
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:
commit
3bc7ad9364
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue