Fix python bindings' Makefile for out-of-tree builds
authorSimon Marchi <simon.marchi@polymtl.ca>
Tue, 14 Apr 2015 20:45:27 +0000 (16:45 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 28 Apr 2015 14:37:50 +0000 (10:37 -0400)
commit3eed55803b4b2f63935eb1ae07b59006c230e6fc
treee38841f737c57723807ac347cd0d23819cc4d19b
parent9123d0a5eee5182c1468c2a5930d1d29104b1f58
Fix python bindings' Makefile for out-of-tree builds

The references to the built archives should use top_builddir and not
top_srcdir, because that's where they are.

And new in V2, I got a new error:

  lttng_wrap.c:2970:25: fatal error: lttng/lttng.h: No such file or directory
   #include <lttng/lttng.h>

I think we are missing the -I$(top_srcdir)/include. I had not noticed this
previously, probably because I had an lttng/lttng.h in
/usr/local/include or /usr/include. Also, the other includes seem
unnecessary. The This is not really related to out-of-tree builds though.

Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
extras/bindings/swig/python/Makefile.am
This page took 0.026102 seconds and 4 git commands to generate.