summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2014-08-27 10:29:50 +0200
committerKarolin Seeger <kseeger@samba.org>2014-11-17 21:21:12 +0100
commitf839d6cdf8809c6ba62d45805c4109ab41f4ea76 (patch)
tree75a6dc661d51dc07e647fcdae7c0888c075b665b /lib
parent226ccc7fbceb296b53646a1e25d6e4c2a5235054 (diff)
downloadsamba-f839d6cdf8809c6ba62d45805c4109ab41f4ea76.tar.gz
lib/ldb/wscript: pass dep_vars=['LDB_VERSION'] to SAMBA_GENERATOR()
bld.add_manual_dependency() only works for files not for environment variables. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> (cherry picked from commit bb9a939e78d54a4b09f38d1f7cec1544239fef34)
Diffstat (limited to 'lib')
-rwxr-xr-xlib/ldb/wscript3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/ldb/wscript b/lib/ldb/wscript
index a375675a158..fb32ecdea87 100755
--- a/lib/ldb/wscript
+++ b/lib/ldb/wscript
@@ -148,12 +148,11 @@ def build(bld):
# generate a include/ldb_version.h
t = bld.SAMBA_GENERATOR('ldb_version.h',
rule='echo "#define LDB_VERSION \\"${LDB_VERSION}\\"" > ${TGT}',
+ dep_vars=['LDB_VERSION'],
target='include/ldb_version.h',
public_headers='include/ldb_version.h',
public_headers_install=not private_library)
t.env.LDB_VERSION = VERSION
- bld.add_manual_dependency(bld.path.find_or_declare('include/ldb_version.h'), VERSION)
-
bld.SAMBA_PYTHON('pyldb', 'pyldb.c',