samba3: work around bytes formatting for Python 3.4
[metze/samba/wip.git] / libgpo / wscript_build
1 #!/usr/bin/env python
2
3 bld.SAMBA3_LIBRARY('gpext',
4                    source='''gpext/gpext.c gpo_util.c gpo_ldap.c gpo_ini.c
5                            gpo_fetch.c gpo_filesync.c
6                            gpo_sec.c gpo_reg.c''',
7                    deps='talloc ads TOKEN_UTIL auth',
8                    private_library=True)
9
10 for env in bld.gen_python_environments():
11     bld.SAMBA3_PYTHON('python_samba_libgpo', 'pygpo.c',
12                      deps='''pyparam_util gpext talloc ads TOKEN_UTIL
13                      auth pyrpc_util''',
14                      realname='samba/gpo.so')