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
commit 5704b5a002
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 = {