Skip to content

Commit

Permalink
nix: build shared if not a static stdenv
Browse files Browse the repository at this point in the history
  • Loading branch information
vs49688 committed May 13, 2024
1 parent 0132622 commit 617ff99
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ stdenv.mkDerivation(finalAttrs: {
cmakeFlags = [
(lib.cmakeBool "BRENDER_BUILD_TOOLS" withTools)
(lib.cmakeBool "BRENDER_BUILD_EXAMPLES" withExamples)
(lib.cmakeBool "BUILD_SHARED_LIBS" (!stdenv.hostPlatform.isStatic))
];

postFixup = ''
Expand Down

0 comments on commit 617ff99

Please sign in to comment.