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

@ -23,7 +23,8 @@
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
python_PYTHON = $(srcdir)/spot.py $(srcdir)/buddy.py