summaryrefslogtreecommitdiff
path: root/wscript_build
diff options
context:
space:
mode:
Diffstat (limited to 'wscript_build')
-rw-r--r--wscript_build3
1 files changed, 2 insertions, 1 deletions
diff --git a/wscript_build b/wscript_build
index 37abfd1b77..dd905f8063 100644
--- a/wscript_build
+++ b/wscript_build
@@ -105,7 +105,8 @@ bld.RECURSE('source4/setup')
bld.RECURSE('source4/scripting')
bld.RECURSE('pidl')
bld.RECURSE('lib')
-bld.RECURSE('source3')
+if bld.env.enable_s3build:
+ bld.RECURSE('source3')
# install some extra empty directories
bld.INSTALL_DIRS("", "${LOCKDIR} ${SYSCONFDIR} ${LOCKDIR} ${PIDDIR} ${LOCALSTATEDIR}/lib ${PRIVATEDIR}/smbd.tmp/messaging")