summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2017-04-15 09:09:21 +0200
committerRalph Boehme <slow@samba.org>2017-04-20 16:53:16 +0200
commit4a43129b7a7285024f0d2b76e893740f73adce2f (patch)
treeb7bbe96beb0a307d39e18a4f9a3edaa4bee42dac /buildtools
parent292e46ab12d8ec172c9d3b26330d8d6028a1d5a5 (diff)
downloadsamba-4a43129b7a7285024f0d2b76e893740f73adce2f.tar.gz
wafsamba: add source directory define SRCDIR to config.h
This will be used in the next commit to prepare the path to a test script in a smbtorture test. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/wafsamba/wscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/buildtools/wafsamba/wscript b/buildtools/wafsamba/wscript
index 4eef008cf88..430d164b60d 100644
--- a/buildtools/wafsamba/wscript
+++ b/buildtools/wafsamba/wscript
@@ -212,6 +212,8 @@ def configure(conf):
conf.env.hlist = []
conf.env.srcdir = conf.srcdir
+ conf.define('SRCDIR', conf.env['srcdir'])
+
if Options.options.timestamp_dependencies:
conf.ENABLE_TIMESTAMP_DEPENDENCIES()