summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools')
-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)