git.samba.org
/
kamenim
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe3cd6f
)
s4-waf: set CONFIG_H variable for selftest
author
Andrew Tridgell
<tridge@samba.org>
Sat, 27 Mar 2010 01:44:36 +0000
(12:44 +1100)
committer
Andrew Tridgell
<tridge@samba.org>
Tue, 6 Apr 2010 10:27:09 +0000
(20:27 +1000)
source4/selftest/wscript
patch
|
blob
|
history
diff --git
a/source4/selftest/wscript
b/source4/selftest/wscript
index 6c48b8f65b2b9f8b92bd58ce8fdbbe80a06ab896..7ecb6bab363f7c40210bc6fe39cef257dd3411c8 100644
(file)
--- 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)