mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-16 09:38:17 +00:00
pkgsStatic.c-ares: fix build
This commit is contained in:
parent
a704b90295
commit
de64530f8d
@ -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