[lttng-dev] [PATCH lttng-tools] Fix: Out of tree build fails in libconfig

David Goulet dgoulet at efficios.com
Mon May 5 10:53:32 EDT 2014


Merged

On 05 May (10:41:46), Jérémie Galarneau wrote:
> 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
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 603 bytes
Desc: Digital signature
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20140505/df93810f/attachment.sig>


More information about the lttng-dev mailing list