solve the error "ldb.inst.h does not exist"
authorThomas Nagy <tnagy2pow10@gmail.com>
Sun, 23 May 2010 19:31:53 +0000 (21:31 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Sun, 23 May 2010 23:26:43 +0000 (01:26 +0200)
The error happens when headermap.txt is not available

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
buildtools/wafsamba/wafsamba.py

index 1efa10d4f0b7b9b365b329b04605a830becf666b..fd6a5523e99ce4cb33f0391ca68059e07bf57dc2 100644 (file)
@@ -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)