summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buildtools/wafsamba/samba_utils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_utils.py b/buildtools/wafsamba/samba_utils.py
index 37b3fc9dbb..fc23aa4f64 100644
--- a/buildtools/wafsamba/samba_utils.py
+++ b/buildtools/wafsamba/samba_utils.py
@@ -396,7 +396,8 @@ def LOAD_ENVIRONMENT():
from new commands'''
import Environment
env = Environment.Environment()
- env.load('bin/c4che/default.cache.py')
+ env.load('.lock-wscript')
+ env.load(env.blddir + '/c4che/default.cache.py')
return env