Merge pull request #199519 from tobim/pkgs/c-ares-static

pkgsStatic.c-ares: fix build
This commit is contained in:
Christian Kögler
2022-11-08 22:49:06 +01:00
committed by GitHub
@@ -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 = {