wangle: condition shared libraries on platform setting

This commit is contained in:
Emily
2024-11-18 17:44:00 +00:00
parent 6ff98c6960
commit ade1eb00f9
+2
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)
];