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

10 lines
348 B
Diff

--- setup.py.orig 2019-05-02 17:34:46.000000000 +0800
+++ setup.py 2019-05-07 08:20:20.841022106 +0800
@@ -325,5 +325,5 @@
'update': UpdateCommand},
ext_modules=[Extension(
name='yara',
- include_dirs=['yara/libyara/include', 'yara/libyara/', '.'],
+ libraries = ['yara'],
sources=['yara-python.c'])])