1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-16 20:55:20 +03:00
aports/testing/py3-yara/use-system-yara.patch
2023-03-26 00:28:59 +01:00

12 lines
410 B
Diff

diff --git a/setup.py b/setup.py
index 1289558..5fa5605 100644
--- a/setup.py
+++ b/setup.py
@@ -392,6 +392,6 @@ setup(
'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'])])