]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
libgpo: only install group policy admx files when building as DC
authorGünther Deschner <gd@samba.org>
Fri, 26 Jun 2020 08:35:13 +0000 (10:35 +0200)
committerAnoop C S <anoopcs@samba.org>
Tue, 30 Jun 2020 07:51:48 +0000 (07:51 +0000)
Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: David Mulder <dmulder@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
Autobuild-User(master): Anoop C S <anoopcs@samba.org>
Autobuild-Date(master): Tue Jun 30 07:51:48 UTC 2020 on sn-devel-184

libgpo/wscript_build

index e6e54fe359a8146b0d216fbc66cca1eff1aa2032..cb0a40a008c377b5bd62d93b91f078f5051f6dfc 100644 (file)
@@ -20,4 +20,5 @@ bld.SAMBA3_PYTHON('python_samba_libgpo', 'pygpo.c',
                   deps='%s gpext talloc ads TOKEN_UTIL auth %s' % (pyparam_util, pyrpc_util),
                   realname='samba/gpo.so')
 
-bld.RECURSE('admx')
+if bld.AD_DC_BUILD_IS_ENABLED():
+    bld.RECURSE('admx')