aboutsummaryrefslogtreecommitdiffstats
path: root/waflib/Configure.py
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-03-17 17:31:04 +0100
committerDavid Robillard <d@drobilla.net>2019-03-17 18:14:27 +0100
commita065b13b94e2f08eddbec9a64d97c653618e7207 (patch)
treef3727071015b4c8034c756d466d6f1d37d0b3683 /waflib/Configure.py
parentd4a49fff9bbc610705b6292a069ae8fa72bb6e03 (diff)
parent06b859ac10d84580a21a912c75c37c73b9d65d2f (diff)
downloadmda.lv2-a065b13b94e2f08eddbec9a64d97c653618e7207.tar.gz
mda.lv2-a065b13b94e2f08eddbec9a64d97c653618e7207.tar.bz2
mda.lv2-a065b13b94e2f08eddbec9a64d97c653618e7207.zip
Update autowaf and adapt to new APIHEADmaster
Diffstat (limited to 'waflib/Configure.py')
-rw-r--r--waflib/Configure.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/waflib/Configure.py b/waflib/Configure.py
index d0a4793..db09c0e 100644
--- a/waflib/Configure.py
+++ b/waflib/Configure.py
@@ -125,7 +125,7 @@ class ConfigurationContext(Context.Context):
self.bldnode.mkdir()
if not os.path.isdir(self.bldnode.abspath()):
- conf.fatal('Could not create the build directory %s' % self.bldnode.abspath())
+ self.fatal('Could not create the build directory %s' % self.bldnode.abspath())
def execute(self):
"""
@@ -180,6 +180,7 @@ class ConfigurationContext(Context.Context):
env.hash = self.hash
env.files = self.files
env.environ = dict(self.environ)
+ env.launch_dir = Context.launch_dir
if not (self.env.NO_LOCK_IN_RUN or env.environ.get('NO_LOCK_IN_RUN') or getattr(Options.options, 'no_lock_in_run')):
env.store(os.path.join(Context.run_dir, Options.lockfile))