[Forensics-changes] [yara] 28/160: Fix for running 'configure' in another folder

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:29:14 UTC 2017


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag v3.4.0
in repository yara.

commit 55aa93ba24eb61c209698c0d30296911c0458fc0
Author: Tian You <axqd001 at gmail.com>
Date:   Thu Feb 26 18:00:57 2015 +0800

    Fix for running 'configure' in another folder
    
    To run 'configure' in another folder instead of the source tree, we need to specify path to 'include' folder and 'libyara.sym' symbol file.
---
 libyara/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libyara/Makefile.am b/libyara/Makefile.am
index d9bd3b2..a13245e 100644
--- a/libyara/Makefile.am
+++ b/libyara/Makefile.am
@@ -24,7 +24,7 @@ endif
 
 AM_YFLAGS=-d
 
-AM_CFLAGS=-O3 -Wall -Wno-deprecated-declarations -std=gnu99 -I./include
+AM_CFLAGS=-O3 -Wall -Wno-deprecated-declarations -std=gnu99 -I$(srcdir)/include
 
 ACLOCAL_AMFLAGS=-I m4
 
@@ -55,7 +55,7 @@ yarainclude_HEADERS = \
 
 lib_LTLIBRARIES = libyara.la
 
-libyara_la_LDFLAGS = -export-symbols libyara.sym -version-number 3:3:0
+libyara_la_LDFLAGS = -export-symbols $(srcdir)/libyara.sym -version-number 3:3:0
 
 libyara_la_SOURCES = \
   $(MODULES) \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/yara.git



More information about the forensics-changes mailing list