summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-03-08 13:01:21 +1100
committerAndrew Tridgell <tridge@samba.org>2011-03-15 12:22:20 +1100
commit7a57f72ef46f37e90aaa05926636c57cdd91b4a4 (patch)
tree9b358d9aac5b1e035f63d49151d5091c56d5b281 /source3
parent023296423aab11dd2300f09f158e5234503b46c0 (diff)
downloadsamba-7a57f72ef46f37e90aaa05926636c57cdd91b4a4.tar.gz
samba-7a57f72ef46f37e90aaa05926636c57cdd91b4a4.tar.bz2
samba-7a57f72ef46f37e90aaa05926636c57cdd91b4a4.zip
s3-waf: enable public header building in s3
Diffstat (limited to 'source3')
-rw-r--r--source3/wscript_build7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index 836ee1fb26..82795d5102 100644
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -3,6 +3,13 @@
from samba_utils import *
import samba_version, samba3
+# 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 = ['lib/ldb_compat.h']
+
TDB_LIB_SRC = '''
lib/dbwrap.c lib/dbwrap_tdb.c
lib/dbwrap_ctdb.c