pkgsStatic.c-ares: fix build

This commit is contained in:
Tobias Mayer 2022-11-04 14:03:18 +01:00
parent a704b90295
commit de64530f8d
No known key found for this signature in database
GPG Key ID: F8657E90819A1298

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