summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/wafsamba')
-rw-r--r--buildtools/wafsamba/samba_headers.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/buildtools/wafsamba/samba_headers.py b/buildtools/wafsamba/samba_headers.py
index 95d1e6fb55..a03254e328 100644
--- a/buildtools/wafsamba/samba_headers.py
+++ b/buildtools/wafsamba/samba_headers.py
@@ -136,6 +136,13 @@ def PUBLIC_HEADERS(bld, public_headers, header_path=None, public_headers_install
header_map[src_path] = target_path
+ build_dir = os.path.join(bld.bldnode.abspath(),
+ 'default',
+ bld.env.build_public_headers,
+ inst_path)
+ if not os.path.exists(build_dir):
+ mkdir_p(build_dir)
+
t = bld.SAMBA_GENERATOR('HEADER_%s/%s/%s' % (relpath2, inst_path, inst_name),
group='headers',
rule=create_public_header,