summaryrefslogtreecommitdiff
path: root/libgpo/wscript_build
diff options
context:
space:
mode:
authorDavid Mulder <dmulder@suse.com>2018-01-30 12:31:42 -0700
committerAndrew Bartlett <abartlet@samba.org>2018-03-23 07:28:25 +0100
commita032ea5bf842da35099930008e308f35668d7caf (patch)
treefb368afa79944181877794b8109c13b900e9c852 /libgpo/wscript_build
parentbb88292cee5289742b72ff0249f01d527920301f (diff)
downloadsamba-a032ea5bf842da35099930008e308f35668d7caf.tar.gz
libgpo: port samba.gpo to python3
Signed-off-by: David Mulder <dmulder@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'libgpo/wscript_build')
-rw-r--r--libgpo/wscript_build9
1 files changed, 5 insertions, 4 deletions
diff --git a/libgpo/wscript_build b/libgpo/wscript_build
index 2ef66f7fa9d..f456d417d8a 100644
--- a/libgpo/wscript_build
+++ b/libgpo/wscript_build
@@ -7,7 +7,8 @@ bld.SAMBA3_LIBRARY('gpext',
deps='talloc ads TOKEN_UTIL auth',
private_library=True)
-bld.SAMBA3_PYTHON('python_samba_libgpo', 'pygpo.c',
- deps='''pyparam_util gpext talloc ads TOKEN_UTIL
- auth pyrpc_util''',
- realname='samba/gpo.so')
+for env in bld.gen_python_environments():
+ bld.SAMBA3_PYTHON('python_samba_libgpo', 'pygpo.c',
+ deps='''pyparam_util gpext talloc ads TOKEN_UTIL
+ auth pyrpc_util''',
+ realname='samba/gpo.so')