Browse Source

try to fix building

master
parent
commit
27d67c5167
  1. 13
      yara/yara.patch

13
yara/yara.patch

@ -1,6 +1,6 @@
Index: libyara/yara.pc.in
--- libyara/yara.pc.in.orig 2020-06-26 09:17:35.000000000 +0200
+++ libyara/yara.pc.in 2020-09-27 01:07:08.872632000 +0200
+++ libyara/yara.pc.in 2020-09-27 09:38:03.006776000 +0200
@@ -9,5 +9,5 @@
Version: @PACKAGE_VERSION@
Requires.private: @PC_REQUIRES_PRIVATE@
@ -8,3 +8,14 @@ Index: libyara/yara.pc.in
-Libs: -L${libdir} -lyara
+Libs: -L${libdir} -lyara -lm
Libs.private: @PC_LIBS_PRIVATE@ @PTHREAD_LIBS@
Index: libyara/Makefile.am
--- libyara/Makefile.am.orig 2020-06-26 09:17:35.000000000 +0200
+++ libyara/Makefile.am 2020-09-27 09:43:05.649391000 +0200
@@ -64,6 +64,7 @@
AM_YFLAGS=-d
+AM_CPPFLAGS=-I$(srcdir)/include
AM_CFLAGS=-Wall -Wno-deprecated-declarations \
-D_GNU_SOURCE \
-I$(srcdir)/include

Loading…
Cancel
Save