mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
Merge pull request #199519 from tobim/pkgs/c-ares-static
pkgsStatic.c-ares: fix build
This commit is contained in:
commit
5704b5a002
@ -33,6 +33,11 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = lib.optionals withCMake [ cmake ];
|
||||
|
||||
cmakeFlags = [] ++ lib.optionals stdenv.hostPlatform.isStatic [
|
||||
"-DCARES_SHARED=OFF"
|
||||
"-DCARES_STATIC=ON"
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
passthru.tests = {
|
||||
|
Loading…
Reference in New Issue
Block a user