summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/wafsamba.py
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-03-03 17:18:58 +1100
committerAndrew Tridgell <tridge@samba.org>2011-03-15 12:22:19 +1100
commitf8655f4621a0dbacb712d384565c590f057adbbf (patch)
treec36c5f12aa1bcd2296609dacab28d2eb59177ad0 /buildtools/wafsamba/wafsamba.py
parentc3f04a9f3520000b6347aaa6cd4c431e81976d40 (diff)
downloadsamba-f8655f4621a0dbacb712d384565c590f057adbbf.tar.gz
samba-f8655f4621a0dbacb712d384565c590f057adbbf.tar.bz2
samba-f8655f4621a0dbacb712d384565c590f057adbbf.zip
waf: always generate public headers in the build tree
this allows us to properly test our public headers before install
Diffstat (limited to 'buildtools/wafsamba/wafsamba.py')
-rw-r--r--buildtools/wafsamba/wafsamba.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py
index 181bbae333..bf0c1b4548 100644
--- a/buildtools/wafsamba/wafsamba.py
+++ b/buildtools/wafsamba/wafsamba.py
@@ -98,6 +98,7 @@ def SAMBA_LIBRARY(bld, libname, source,
public_deps='',
includes='',
public_headers=None,
+ public_headers_install=True,
header_path=None,
pc_files=None,
vnum=None,
@@ -162,6 +163,7 @@ def SAMBA_LIBRARY(bld, libname, source,
public_deps = public_deps,
includes = includes,
public_headers = public_headers,
+ public_headers_install = public_headers_install,
header_path = header_path,
cflags = cflags,
group = subsystem_group,
@@ -459,6 +461,7 @@ def SAMBA_SUBSYSTEM(bld, modname, source,
public_deps='',
includes='',
public_headers=None,
+ public_headers_install=True,
header_path=None,
cflags='',
cflags_end=None,
@@ -527,7 +530,8 @@ def SAMBA_SUBSYSTEM(bld, modname, source,
if autoproto is not None:
bld.SAMBA_AUTOPROTO(autoproto, source + TO_LIST(autoproto_extra_source))
if public_headers is not None:
- bld.PUBLIC_HEADERS(public_headers, header_path=header_path)
+ bld.PUBLIC_HEADERS(public_headers, header_path=header_path,
+ public_headers_install=public_headers_install)
return t