summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
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