1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/libgpo/wscript_build
Luke Morrison 148b7ae707 gpo: Add python libgpo bindings
Split from "Initial commit for GPO work done by Luke Morrison" by David Mulder

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Luke Morrison <luke@hubtrek.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2017-11-20 21:41:14 +01:00

14 lines
513 B
Python

#!/usr/bin/env python
LIBGPO_SRC = '''gpo_ldap.c gpo_ini.c gpo_util.c gpo_fetch.c gpo_filesync.c
gpo_sec.c gpo_reg.c gpext/gpext.c'''
bld.SAMBA3_LIBRARY('gpo',
source='${LIBGPO_SRC}',
deps='talloc ads TOKEN_UTIL auth',
vars=locals(),
private_library=True)
bld.SAMBA3_PYTHON('python_samba_libgpo', 'pygpo.c',
deps='pyparam_util gpo talloc ads TOKEN_UTIL auth',
realname='samba/gpo.so')