Signed-off-by: Jérémie Galarneau <[email protected]>
---
bindings/python/Makefile.am | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/bindings/python/Makefile.am b/bindings/python/Makefile.am
index bf8050e..536e07f 100644
--- a/bindings/python/Makefile.am
+++ b/bindings/python/Makefile.am
@@ -23,6 +23,5 @@ _babeltrace_la_LIBADD =
$(top_srcdir)/formats/ctf/libbabeltrace-ctf.la \
# SWIG 'warning md variable unused' fixed after SWIG build:
babeltrace_wrap.c: babeltrace.i
$(SWIG) -python -Wall -I. -I$(top_srcdir)/include babeltrace.i
- sed -i "s/PyObject \*m, \*d, \*md;/PyObject \*m, \*d;\n#if
defined(SWIGPYTHON_BUILTIN)\nPyObject *md;\n#endif/g" babeltrace_wrap.c
- sed -i "s/md = d/d/g" babeltrace_wrap.c
- sed -i "s/(void)public_symbol;/(void)public_symbol;\n md = d;/g"
babeltrace_wrap.c
+
+CLEANFILES = babeltrace.i babeltrace.py babeltrace_wrap.c
--
1.8.1.1
_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev