1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

s4-waf: set CONFIG_H variable for selftest

This commit is contained in:
Andrew Tridgell 2010-03-27 12:44:36 +11:00
parent fe3cd6fb28
commit ba0c7edf80

View File

@ -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)