mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-15 12:58:01 +00:00
fizz: condition shared libraries on platform setting
(cherry picked from commit 136740dec6
)
This commit is contained in:
parent
f918b709b6
commit
dd004b4e29
@ -62,6 +62,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
cmakeDir = "../fizz";
|
||||
|
||||
cmakeFlags = [
|
||||
(lib.cmakeBool "BUILD_SHARED_LIBS" (!stdenv.hostPlatform.isStatic))
|
||||
(lib.cmakeBool "BUILD_TESTS" finalAttrs.finalPackage.doCheck)
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user