1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/libgpo/wscript_build
Noel Power 4a58393b2b wscript_build: make sure we link extra-python versions of libraries
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
2018-04-13 07:27:11 +02:00

16 lines
674 B
Python

#!/usr/bin/env python
bld.SAMBA3_LIBRARY('gpext',
source='''gpext/gpext.c gpo_util.c gpo_ldap.c gpo_ini.c
gpo_fetch.c gpo_filesync.c
gpo_sec.c gpo_reg.c''',
deps='talloc ads TOKEN_UTIL auth',
private_library=True)
for env in bld.gen_python_environments():
pyparam_util = bld.pyembed_libname('pyparam_util')
pyrpc_util = bld.pyembed_libname('pyrpc_util')
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')