summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba
diff options
context:
space:
mode:
authorThomas Nagy <tnagy2pow10@gmail.com>2010-05-23 21:31:53 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-05-24 01:26:43 +0200
commit792743cfab19ad273c75a2f8d54fe2dd60de0240 (patch)
treeb39a2268db308ba41cab955c193ce1b199591513 /buildtools/wafsamba
parenteec93985d1d31c86509020fb03515758531a098f (diff)
downloadsamba-792743cfab19ad273c75a2f8d54fe2dd60de0240.tar.gz
samba-792743cfab19ad273c75a2f8d54fe2dd60de0240.tar.bz2
samba-792743cfab19ad273c75a2f8d54fe2dd60de0240.zip
solve the error "ldb.inst.h does not exist"
The error happens when headermap.txt is not available Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Diffstat (limited to 'buildtools/wafsamba')
-rw-r--r--buildtools/wafsamba/wafsamba.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py
index 1efa10d4f0..fd6a5523e9 100644
--- a/buildtools/wafsamba/wafsamba.py
+++ b/buildtools/wafsamba/wafsamba.py
@@ -658,6 +658,8 @@ def init_subst(bld):
node = bld.srcnode.find_resource("source4/headermap.txt")
if not node:
+ bld.subst_table = {}
+ bld.subst_table_h = 0
return {}
lines = node.read(None)