void-packages/srcpkgs/python3-yara/patches/use-system-yara.patch

11 lines
340 B
Diff

--- a/setup.py
+++ b/setup.py
@@ -392,6 +392,6 @@
'update': UpdateCommand},
ext_modules=[Extension(
name='yara',
- include_dirs=['yara/libyara/include', 'yara/libyara/', '.'],
+ libraries = ['yara'],
define_macros=[('BUCKETS_128', 1), ('CHECKSUM_1B', 1)],
sources=['yara-python.c'])])