[lttng-dev] [PATCH lttng-tools] Fix: Out of tree build fails in libconfig
Jérémie Galarneau
jeremie.galarneau at efficios.com
Mon May 5 10:41:46 EDT 2014
libconfig_la_CPPFLAGS should also include the top-level AM_CPPFLAGS.
Signed-off-by: Jérémie Galarneau <jeremie.galarneau at efficios.com>
---
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 e8eaaca..0014dfd 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
--
1.9.2
More information about the lttng-dev
mailing list