From b9383c8c6fc6a12271c26a0036228164dd444777 Mon Sep 17 00:00:00 2001 From: garanews Date: Sun, 11 Sep 2022 11:13:48 +0200 Subject: [PATCH] Update setup.py compiling "hotfix" mentioned https://github.com/VirusTotal/yara-python/issues/212 and https://github.com/VirusTotal/yara-python/pull/210/files --- setup.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/setup.py b/setup.py index d1f0a46..bed4f8d 100644 --- a/setup.py +++ b/setup.py @@ -187,7 +187,12 @@ def run(self): os.chdir(base_dir) exclusions = [] + + # Needed to build tlsh + module.define_macros.extend([('BUCKETS_128', 1), ('CHECKSUM_1B', 1)]) + # Needed to build authenticode parser + module.libraries.append('ssl') for define in self.define or []: module.define_macros.append(define)