summaryrefslogtreecommitdiff
path: root/lib/tdb/wscript
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-10-04 13:17:25 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-10-04 13:52:09 +0200
commit6cd722d9507200a90b7c99dcb6749187aa757f87 (patch)
tree89225d522fc113742962c10110cdcd256beef4fa /lib/tdb/wscript
parent8cec67fe61b1e6e64cab968ee43be424a91e56cd (diff)
downloadsamba-6cd722d9507200a90b7c99dcb6749187aa757f87.tar.gz
samba-6cd722d9507200a90b7c99dcb6749187aa757f87.tar.bz2
samba-6cd722d9507200a90b7c99dcb6749187aa757f87.zip
pytdb: Add __version__ attribute.
Diffstat (limited to 'lib/tdb/wscript')
-rw-r--r--lib/tdb/wscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/tdb/wscript b/lib/tdb/wscript
index 94f85cd708..d9c0ceb41b 100644
--- a/lib/tdb/wscript
+++ b/lib/tdb/wscript
@@ -98,7 +98,8 @@ def build(bld):
'pytdb.c',
deps='tdb',
enabled=not bld.env.disable_python,
- realname='tdb.so')
+ realname='tdb.so',
+ cflags='-DPACKAGE_VERSION=\"%s\"' % VERSION)
if bld.env.standalone_tdb:
bld.env.PKGCONFIGDIR = '${LIBDIR}/pkgconfig'