summaryrefslogtreecommitdiffstats
path: root/lib/tdb/wscript
diff options
context:
space:
mode:
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'