[lttng-dev] [PATCH lttng-ust] Fix: oot build: missing top_builddir include.

Jonathan Rajotte jonathan.rajotte-julien at efficios.com
Mon Mar 23 15:37:57 EDT 2015


lttng/tracepoint.h need lttng/ust-config.h which is
generated on build. When in oot build mode ust_config.h is located in
$(top_builddir)/include/. Only $(top_srcdir)/include/ was defined as
includes source.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien at efficios.com>
---
 liblttng-ust-python-agent/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/liblttng-ust-python-agent/Makefile.am b/liblttng-ust-python-agent/Makefile.am
index 4b34964..8b38132 100644
--- a/liblttng-ust-python-agent/Makefile.am
+++ b/liblttng-ust-python-agent/Makefile.am
@@ -1,5 +1,5 @@
 
-AM_CPPFLAGS = $(PYTHON_INCLUDE) -I$(top_srcdir)/include/
+AM_CPPFLAGS = $(PYTHON_INCLUDE) -I$(top_srcdir)/include/ -I$(top_builddir)/include/
 AM_CFLAGS = -fno-strict-aliasing
 
 EXTRA_DIST = lttng_agent.py.in
-- 
2.1.4




More information about the lttng-dev mailing list