summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/dynconfig/wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dynconfig/wscript b/source4/dynconfig/wscript
index 0058047182..ca664fbe6e 100644
--- a/source4/dynconfig/wscript
+++ b/source4/dynconfig/wscript
@@ -124,8 +124,8 @@ def dynconfig_cflags(bld, list=None):
cflags = []
# override some paths when running from the build directory
override = { 'MODULESDIR' : 'bin/modules',
- 'SCRIPTSBINDIR' : 'scripting/bin',
- 'SETUPDIR' : 'setup' }
+ 'SCRIPTSBINDIR' : os.path.join(bld.env.srcdir, 'source4/scripting/bin'),
+ 'SETUPDIR' : os.path.join(bld.env.srcdir, 'source4/setup') }
for f in dyn_cflags.keys():
if list and not f in list:
continue