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

work around swig4 regression

* python/Makefile.am: 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 https://github.com/swig/swig/issues/1553
$(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/impl.py: spot/impl.i
......
Markdown is supported
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