summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ldb/wscript')
-rw-r--r--source4/lib/ldb/wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/wscript b/source4/lib/ldb/wscript
index 69b5c453f3..04671352bf 100644
--- a/source4/lib/ldb/wscript
+++ b/source4/lib/ldb/wscript
@@ -219,7 +219,7 @@ def build(bld):
'common/ldb.c',
deps='tevent',
includes='include',
- cflags='-DLDB_MODULESDIR=\"%s\"' % modules_dir)
+ cflags='-DLDB_MODULESDIR=\"%s\" -DLDB_VERSION=\"%s\"' % (modules_dir, VERSION))
if s4_build:
extra_cmdline_deps = ' LDBSAMBA POPT_SAMBA POPT_CREDENTIALS ' \