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:43:25 +0000 (10:43 -0400)
commit38dd6e6248ea299640174dcca0970757b70cb6e5
tree075edeac947cd34cc6dc79cd796ae5a97d8092e4
parent388d4b5b9c345fdd01793ccb65a8c43a5862bc15
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.025793 seconds and 4 git commands to generate.