Define SWIG_TYPE_TABLE as suggested by the SWIG documentation.

* wrap/python/Makefile.am: Add -DSWIG_TYPE_TABLE=spot.
This commit is contained in:
Alexandre Duret-Lutz 2010-12-23 22:29:35 +01:00
parent 8419cb6f8d
commit f1d3e999ae
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2010-12-23 Alexandre Duret-Lutz <adl@lrde.epita.fr>
Define SWIG_TYPE_TABLE as suggested by the SWIG documentation.
* wrap/python/Makefile.am: Add -DSWIG_TYPE_TABLE=spot.
2010-12-23 Alexandre Duret-Lutz <adl@lrde.epita.fr> 2010-12-23 Alexandre Duret-Lutz <adl@lrde.epita.fr>
Use swig2.0 if available. Use swig2.0 if available.

View file

@ -23,7 +23,8 @@
SUBDIRS = . cgi-bin tests SUBDIRS = . cgi-bin tests
AM_CPPFLAGS = -I$(PYTHONINC) -I$(top_srcdir)/src $(BUDDY_CPPFLAGS) AM_CPPFLAGS = -I$(PYTHONINC) -I$(top_srcdir)/src $(BUDDY_CPPFLAGS) \
-DSWIG_TYPE_TABLE=spot
EXTRA_DIST = spot.i buddy.i EXTRA_DIST = spot.i buddy.i
python_PYTHON = $(srcdir)/spot.py $(srcdir)/buddy.py python_PYTHON = $(srcdir)/spot.py $(srcdir)/buddy.py