summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/selftest/wscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/selftest/wscript b/source4/selftest/wscript
index 6c48b8f65b..7ecb6bab36 100644
--- a/source4/selftest/wscript
+++ b/source4/selftest/wscript
@@ -75,6 +75,9 @@ def cmd_testonly(opt):
# this is needed for systems without rpath, or with rpath disabled
ADD_LD_LIBRARY_PATH('bin/shared')
+ # tell build system where to find config.h
+ os.environ['CONFIG_H'] = 'bin/default/source4/include/config.h'
+
st_done = os.path.join(env.SELFTEST_PREFIX, 'st_done')
if os.path.exists(st_done):
os.unlink(st_done)