From: Philipp Gesang Date: Thu, 19 Sep 2019 07:03:45 +0000 (+0200) Subject: s4:scripting: make samba-gpupdate heed --disable-python X-Git-Tag: talloc-2.3.1~678 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3bb7ccb4635535cb9dd9333220222dcfffb2aed9;p=thirdparty%2Fsamba.git s4:scripting: make samba-gpupdate heed --disable-python Signed-off-by: Philipp Gesang Reviewed-by: Andrew Bartlett Reviewed-by: Noel Power Autobuild-User(master): Noel Power Autobuild-Date(master): Wed Sep 25 11:06:04 UTC 2019 on sn-devel-184 --- diff --git a/source4/scripting/wscript_build b/source4/scripting/wscript_build index 31c395d3e4b..c5883f1fc8c 100644 --- a/source4/scripting/wscript_build +++ b/source4/scripting/wscript_build @@ -5,8 +5,9 @@ from samba_utils import MODE_755 sbin_files = '' if bld.CONFIG_SET('AD_DC_BUILD_IS_ENABLED'): sbin_files = 'bin/samba_downgrade_db bin/samba_dnsupdate bin/samba_spnupdate bin/samba_upgradedns bin/samba_kcc ' -sbin_files += 'bin/samba-gpupdate' -man_files = 'man/samba-gpupdate.8' +if not bld.env.disable_python: + sbin_files += 'bin/samba-gpupdate' + man_files = 'man/samba-gpupdate.8' if sbin_files: bld.INSTALL_FILES('${SBINDIR}',