lief: Fix failing build
This commit is contained in:
@@ -47,7 +47,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
scikit-build-core
|
||||
];
|
||||
|
||||
cmakeFlags = [ (lib.cmakeBool "BUILD_SHARED_LIBS" (!stdenv.hostPlatform.isStatic)) ];
|
||||
cmakeFlags = [
|
||||
(lib.cmakeBool "LIEF_PYTHON_API" true)
|
||||
(lib.cmakeBool "LIEF_EXAMPLES" false)
|
||||
(lib.cmakeBool "BUILD_SHARED_LIBS" (!stdenv.hostPlatform.isStatic))
|
||||
];
|
||||
|
||||
postBuild = ''
|
||||
pushd ../api/python
|
||||
@@ -61,6 +65,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
popd
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "lief" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library to Instrument Executable Formats";
|
||||
homepage = "https://lief.quarkslab.com/";
|
||||
|
||||
Reference in New Issue
Block a user