summaryrefslogtreecommitdiff
path: root/source4/selftest/wscript
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-27 12:44:36 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:27:09 +1000
commitba0c7edf803d521a5c03d27132dded0c3159f332 (patch)
tree9e4a2843734d54e5a9d9a07a8b58946c6904d2c0 /source4/selftest/wscript
parentfe3cd6fb2838d34f259f3fe49daf95a5d0f464f2 (diff)
downloadsamba-ba0c7edf803d521a5c03d27132dded0c3159f332.tar.gz
samba-ba0c7edf803d521a5c03d27132dded0c3159f332.tar.bz2
samba-ba0c7edf803d521a5c03d27132dded0c3159f332.zip
s4-waf: set CONFIG_H variable for selftest
Diffstat (limited to 'source4/selftest/wscript')
-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)