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 <[email protected]>
---
 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


_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Reply via email to