pe-parse: fix build on darwin
This commit is contained in:
parent
3892ca21ff
commit
4a90d51bb8
@ -13,6 +13,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.cc.isClang [
|
||||
"-Wno-error=deprecated-declarations"
|
||||
]);
|
||||
|
||||
doInstallCheck = true;
|
||||
installCheckPhase = ''
|
||||
$out/bin/dump-pe ../tests/assets/example.exe
|
||||
|
Loading…
Reference in New Issue
Block a user