wangle: condition shared libraries on platform setting

This commit is contained in:
Emily 2024-11-14 03:06:36 +00:00
parent 6ff98c6960
commit ade1eb00f9

View File

@ -58,6 +58,8 @@ stdenv.mkDerivation (finalAttrs: {
cmakeDir = "../wangle";
cmakeFlags = [
(lib.cmakeBool "BUILD_SHARED_LIBS" (!stdenv.hostPlatform.isStatic))
(lib.cmakeBool "BUILD_TESTS" finalAttrs.finalPackage.doCheck)
];