diff options
Diffstat (limited to 'source3/wscript_build')
-rw-r--r-- | source3/wscript_build | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/source3/wscript_build b/source3/wscript_build index c7bc361821..94bebb7490 100644 --- a/source3/wscript_build +++ b/source3/wscript_build @@ -686,12 +686,13 @@ t.env.BUILDDIR = bld.path.abspath() bld.SETUP_BUILD_GROUPS() -samba_version.load_version(bld.env) - -bld.SAMBA_MKVERSION('include/version.h') +if not bld.env.toplevel_build: + # when using a toplevel build, these are already supplied + samba_version.load_version(bld.env) + bld.SAMBA_MKVERSION('include/version.h') + bld.RECURSE('../lib/replace') + bld.RECURSE('build') -bld.RECURSE('../lib/replace') -bld.RECURSE('build') ######################## SUBSYSTEMS ################################# |