summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/wafsamba.py
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-04-08 21:46:20 +1000
committerAndrew Tridgell <tridge@samba.org>2010-04-08 22:11:49 +1000
commit4ca46c6b8dfd9d7450096fc16c6edd7a08f369e5 (patch)
tree8d32526234eecdb5187869ba4c0b6093047d5442 /buildtools/wafsamba/wafsamba.py
parenteb9b7d0363669574de8ec380089407890f15eac2 (diff)
downloadsamba-4ca46c6b8dfd9d7450096fc16c6edd7a08f369e5.tar.gz
samba-4ca46c6b8dfd9d7450096fc16c6edd7a08f369e5.tar.bz2
samba-4ca46c6b8dfd9d7450096fc16c6edd7a08f369e5.zip
build: make the handling of relative paths a bit saner
This should fix a problem that Anatoliy has struck with the PIDL rules. It also brings us much closer to a working build for a true out of tree build (ie. with waf configure -b /tmp/build)
Diffstat (limited to 'buildtools/wafsamba/wafsamba.py')
-rw-r--r--buildtools/wafsamba/wafsamba.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py
index 75639d47ab..08d3d20137 100644
--- a/buildtools/wafsamba/wafsamba.py
+++ b/buildtools/wafsamba/wafsamba.py
@@ -38,7 +38,7 @@ os.putenv('PYTHONUNBUFFERED', '1')
@conf
def SAMBA_BUILD_ENV(conf):
'''create the samba build environment'''
- conf.env['BUILD_DIRECTORY'] = conf.blddir
+ conf.env.BUILD_DIRECTORY = conf.blddir
mkdir_p(os.path.join(conf.blddir, LIB_PATH))
mkdir_p(os.path.join(conf.blddir, 'python/samba/dcerpc'))
# this allows all of the bin/shared and bin/python targets