Skip to content

Commit

Permalink
yara: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
worldofpeace committed Nov 12, 2019
1 parent a7cb8cf commit 7d0dd7b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkgs/tools/security/yara/default.nix
Expand Up @@ -29,6 +29,13 @@ stdenv.mkDerivation rec {
(stdenv.lib.enableFeature enableCuckoo "cuckoo")
];

# See: https://github.com/VirusTotal/yara/issues/1036
dontDisableStatic = true;

postInstall = ''
rm $out/lib/libyara.la $out/lib/libyara.a
'';

meta = with stdenv.lib; {
description = "The pattern matching swiss knife for malware researchers";
homepage = http://Virustotal.github.io/yara/;
Expand Down

0 comments on commit 7d0dd7b

Please sign in to comment.