From ba0c7edf803d521a5c03d27132dded0c3159f332 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 27 Mar 2010 12:44:36 +1100 Subject: s4-waf: set CONFIG_H variable for selftest --- source4/selftest/wscript | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4') 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) -- cgit