From 55aa93ba24eb61c209698c0d30296911c0458fc0 Mon Sep 17 00:00:00 2001 From: Tian You Date: Thu, 26 Feb 2015 18:00:57 +0800 Subject: [PATCH] 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 d9bd3b2b4d..a13245e424 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) \