mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-03 02:33:15 +00:00
wangle: condition shared libraries on platform setting
This commit is contained in:
parent
6ff98c6960
commit
ade1eb00f9
@ -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)
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user