fizz: condition shared libraries on platform setting

(cherry picked from commit 136740dec6)
(cherry picked from commit dd004b4e29)
This commit is contained in:
Emily 2024-11-14 01:51:53 +00:00 committed by Vladimír Čunát
parent e05b1fc74e
commit c5f8cd9ff9
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -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)
];