From patchwork Mon Nov 26 23:54:59 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [2/2] build: resolve compile error due to missing nfacct CPPFLAGS From: Jan Engelhardt X-Patchwork-Id: 202047 Message-Id: <1353974099-19891-3-git-send-email-jengelh@inai.de> To: eric@regit.org Cc: netfilter-devel@vger.kernel.org Date: Tue, 27 Nov 2012 00:54:59 +0100 Fixes this error: make[3]: Entering directory "/home/jengelh/code/ulogd2/output" CC ulogd_output_XML.lo ulogd_output_XML.c:31:49: fatal error: libnetfilter_acct/libnetfilter_acct.h: No such file or directory (Note that pkgconfig-provided cflags are actually cppflags, so I add ${LIBNETFILTER_ACCT_CFLAGS} to AM_CPPFLAGS.) Signed-off-by: Jan Engelhardt --- output/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/output/Makefile.am b/output/Makefile.am index 630aee6..61d827a 100644 --- a/output/Makefile.am +++ b/output/Makefile.am @@ -1,4 +1,4 @@ -AM_CPPFLAGS = -I$(top_srcdir)/include +AM_CPPFLAGS = -I$(top_srcdir)/include ${LIBNETFILTER_ACCT_CFLAGS} AM_CFLAGS = ${regular_CFLAGS} ${LIBNETFILTER_LOG_CFLAGS} \ ${LIBNETFILTER_CONNTRACK_CFLAGS}