Commit 52e2d113 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

work around swig4 regression

* python/ Here.
parent 72d6527b
Pipeline #9627 failed with stage
in 76 minutes and 40 seconds
......@@ -78,6 +78,8 @@ am__depfiles_remade += ./spot/$(DEPDIR)/impl_wrap.Pcxx
${srcdir}/spot/impl_wrap.cxx: spot/impl.i
$(SWIG) $(SWIGFLAGS) -I$(srcdir) -I$(top_srcdir) -MF spot/$(DEPDIR)/impl_wrap.TPcxx $(srcdir)/spot/impl.i
## work around
$(PERL) -pi -e 's/^#define SWIG_Python_CallFunctor.*/#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);/' $@
mv spot/$(DEPDIR)/impl_wrap.TPcxx spot/$(DEPDIR)/impl_wrap.Pcxx
spot/ spot/impl.i
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment