Commit 3a49fc3c authored by Weijia Wang's avatar Weijia Wang Committed by github-actions[bot]
Browse files

pe-parse: fix build on darwin

(cherry picked from commit 4a90d51b)
parent d24e7fdc
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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