summaryrefslogtreecommitdiff
path: root/wscript_build
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-03-03 16:34:57 +1100
committerAndrew Tridgell <tridge@samba.org>2011-03-15 12:22:19 +1100
commitc3f04a9f3520000b6347aaa6cd4c431e81976d40 (patch)
treede1da03ce00698489b1b51888b19b93f06d1bc34 /wscript_build
parent7dc049e5a29c7fcad6046e164f2e4ce9f0292949 (diff)
downloadsamba-c3f04a9f3520000b6347aaa6cd4c431e81976d40.tar.gz
samba-c3f04a9f3520000b6347aaa6cd4c431e81976d40.tar.bz2
samba-c3f04a9f3520000b6347aaa6cd4c431e81976d40.zip
build: mark some private includes as OK in public headers
these are includes which are protected by #ifdefs which means they don't get exposed to public users
Diffstat (limited to 'wscript_build')
-rw-r--r--wscript_build4
1 files changed, 4 insertions, 0 deletions
diff --git a/wscript_build b/wscript_build
index 9c60450a9a..22cd7a0350 100644
--- a/wscript_build
+++ b/wscript_build
@@ -20,6 +20,10 @@ bld.AUTOCLEANUP_STALE_FILES()
# enable building of public headers in the build tree
bld.env.build_public_headers = 'include/public'
+# these are includes which appear in public headers, but with #ifdef conditional
+# compilation, so they are safe
+bld.env.public_headers_skip = ['param/param_proto.h', 'lib/ldb_compat.h']
+
samba_version.load_version(bld.env)
bld.SAMBA_MKVERSION('version.h')