fb303: condition shared libraries on platform setting

(cherry picked from commit 72f24cc293)
(cherry picked from commit a95aa410a89bd5a32f8eb151b312da1cfd345552)
This commit is contained in:
Emily
2024-11-30 15:11:29 +01:00
committed by Vladimír Čunát
parent a6d05097d2
commit e6213d5a4d
+4
View File
@@ -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)
];