From 63658610ed89c15be360e214e3df023272cddad1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Mon, 5 May 2014 10:41:46 -0400 Subject: [PATCH] Fix: Out of tree build fails in libconfig MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit libconfig_la_CPPFLAGS should also include the top-level AM_CPPFLAGS. Signed-off-by: Jérémie Galarneau Signed-off-by: David Goulet --- src/common/config/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/config/Makefile.am b/src/common/config/Makefile.am index e8eaaca48..0014dfd81 100644 --- a/src/common/config/Makefile.am +++ b/src/common/config/Makefile.am @@ -3,7 +3,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src noinst_LTLIBRARIES = libconfig.la libconfig_la_SOURCES = ini.c ini.h config.c config.h -libconfig_la_CPPFLAGS = $(XML_CPPFLAGS) +libconfig_la_CPPFLAGS = $(XML_CPPFLAGS) $(AM_CPPFLAGS) libconfig_la_LIBADD = $(XML_LIBS) xmldir = $(datadir)/xml/lttng -- 2.34.1