Fix: Out of tree build fails in libconfig
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 5 May 2014 14:41:46 +0000 (10:41 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Mon, 5 May 2014 14:50:48 +0000 (10:50 -0400)
libconfig_la_CPPFLAGS should also include the top-level AM_CPPFLAGS.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/common/config/Makefile.am

index e8eaaca48271247ea3cd1d84c7d7df73911993f3..0014dfd81d9f7be6c08a5c7e472c22336247c9f2 100644 (file)
@@ -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
This page took 0.026026 seconds and 4 git commands to generate.