summaryrefslogtreecommitdiff
path: root/testsuite/headers/wscript_build
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/headers/wscript_build')
-rw-r--r--testsuite/headers/wscript_build7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/headers/wscript_build b/testsuite/headers/wscript_build
index 4d383a117f..b2b88fe4d8 100644
--- a/testsuite/headers/wscript_build
+++ b/testsuite/headers/wscript_build
@@ -23,11 +23,18 @@ bld.SAMBA_GENERATOR('test_headers.h',
source=public_headers,
target='test_headers.h')
+cflags=''
+for lib in ['talloc', 'tevent', 'tdb', 'ldb' ]:
+ ename = 'CPPPATH_%s' % lib.upper()
+ for p in bld.env[ename]:
+ cflags += bld.env.CPPPATH_ST % p + ' '
+
if bld.env.DEVELOPER_MODE:
bld.SAMBA_BINARY('test_headers',
source='test_headers.c',
includes="#include/public",
pyembed=True,
+ cflags=cflags,
local_include=True,
global_include=False,
use_global_deps=False,