summaryrefslogtreecommitdiff
path: root/lib/tdb/python.mk
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tdb/python.mk')
-rw-r--r--lib/tdb/python.mk8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/tdb/python.mk b/lib/tdb/python.mk
index 12e8217df9..a4e6037993 100644
--- a/lib/tdb/python.mk
+++ b/lib/tdb/python.mk
@@ -1,10 +1,8 @@
[PYTHON::swig_tdb]
-LIBRARY_REALNAME = _tdb.$(SHLIBEXT)
+LIBRARY_REALNAME = tdb.$(SHLIBEXT)
PUBLIC_DEPENDENCIES = LIBTDB DYNCONFIG
-swig_tdb_OBJ_FILES = $(tdbsrcdir)/tdb_wrap.o
+swig_tdb_OBJ_FILES = $(tdbsrcdir)/pytdb.o
-$(eval $(call python_py_module_template,tdb.py,$(tdbsrcdir)/tdb.py))
-
-$(swig_tdb_OBJ_FILES): CFLAGS+=$(CFLAG_NO_UNUSED_MACROS) $(CFLAG_NO_CAST_QUAL)
+$(swig_tdb_OBJ_FILES): CFLAGS+=$(CFLAG_NO_CAST_QUAL)