From 383e6572d42ef1f4827497c33adad4964b3c5628 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Fri, 17 Feb 2017 21:41:26 -0800 Subject: [PATCH] Use srcdir to find the includes for the build From Yuri Stotski We need to include files relative to srcdir or else they can not be found when building from a different directory. Signed-off-by: Ronnie Sahlberg --- tests/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index ae99a1b..a43c7d0 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,4 +1,4 @@ -AM_CPPFLAGS = -I../include "-D_U_=__attribute__((unused))" \ +AM_CPPFLAGS = -I${srcdir}/../include "-D_U_=__attribute__((unused))" \ "-D_R_(A,B)=__attribute__((format(printf,A,B)))" AM_CFLAGS = $(WARN_CFLAGS) LDADD = ../lib/libiscsi.la