From 792743cfab19ad273c75a2f8d54fe2dd60de0240 Mon Sep 17 00:00:00 2001 From: Thomas Nagy Date: Sun, 23 May 2010 21:31:53 +0200 Subject: solve the error "ldb.inst.h does not exist" The error happens when headermap.txt is not available Signed-off-by: Jelmer Vernooij --- buildtools/wafsamba/wafsamba.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'buildtools') 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) -- cgit