From: Jérémie Galarneau Date: Mon, 5 May 2014 14:41:46 +0000 (-0400) Subject: Fix: Out of tree build fails in libconfig X-Git-Tag: v2.5.0-rc1~59 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=63658610ed89c15be360e214e3df023272cddad1;p=lttng-tools.git Fix: Out of tree build fails in libconfig libconfig_la_CPPFLAGS should also include the top-level AM_CPPFLAGS. Signed-off-by: Jérémie Galarneau Signed-off-by: David Goulet --- 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