summaryrefslogtreecommitdiffstats
path: root/lib/tdb/python.mk
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-12-18 18:57:21 +0000
committerJelmer Vernooij <jelmer@samba.org>2008-12-18 18:57:21 +0000
commit2a61fd41e9d4d2e3d7b47a816544c88bb369bc03 (patch)
treebca7981fe54cd30d34f40cfb33d55bc83a8b4c14 /lib/tdb/python.mk
parent7f148a2cf85132c71516bed4b71f640495dd05fc (diff)
downloadsamba-2a61fd41e9d4d2e3d7b47a816544c88bb369bc03.tar.gz
samba-2a61fd41e9d4d2e3d7b47a816544c88bb369bc03.tar.xz
samba-2a61fd41e9d4d2e3d7b47a816544c88bb369bc03.zip
Add simple manually written replacement for the tdb module.
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 12e8217df99..a4e6037993a 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)