vcpkg/ports/yara/Disable-module-elf.patch

14 lines
298 B
Diff
Raw Normal View History

diff --git a/libyara/modules/module_list b/libyara/modules/module_list
index 35e848a..e11433e 100644
--- a/libyara/modules/module_list
+++ b/libyara/modules/module_list
@@ -1,6 +1,8 @@
MODULE(tests)
MODULE(pe)
+#ifdef DELF_MODULE
MODULE(elf)
+#endif
MODULE(math)
MODULE(time)
MODULE(console)