mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 17:14:00 +00:00
fb303: condition shared libraries on platform setting
(cherry picked from commit 72f24cc293
)
This commit is contained in:
parent
4567e56a7f
commit
a95aa410a8
@ -48,6 +48,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
(lib.cmakeBool "BUILD_SHARED_LIBS" (!stdenv.hostPlatform.isStatic))
|
||||
|
||||
(lib.cmakeBool "CMAKE_INSTALL_RPATH_USE_LINK_PATH" true)
|
||||
|
||||
(lib.cmakeBool "PYTHON_EXTENSIONS" false)
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user