mirror of
https://github.com/samba-team/samba.git
synced 2025-01-06 13:18:07 +03:00
fdb6305c86
This was part of --extra-python support. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
23 lines
599 B
Python
23 lines
599 B
Python
#!/usr/bin/env python
|
|
|
|
|
|
|
|
pytalloc_util = bld.pyembed_libname('pytalloc-util')
|
|
samba_policy = bld.pyembed_libname('samba-policy')
|
|
samba_net = bld.pyembed_libname('samba-net')
|
|
bld.SAMBA_LIBRARY(samba_policy,
|
|
source='gp_ldap.c gp_filesys.c gp_manage.c gp_ini.c',
|
|
pc_files='samba-policy.pc',
|
|
public_deps='ldb %s' % samba_net,
|
|
vnum='0.0.1',
|
|
pyembed=True,
|
|
public_headers='policy.h',
|
|
enabled=bld.PYTHON_BUILD_IS_ENABLED()
|
|
)
|
|
bld.SAMBA_PYTHON(
|
|
'py_policy',
|
|
source='pypolicy.c',
|
|
public_deps='%s %s' % (samba_policy, pytalloc_util),
|
|
realname='samba/policy.so'
|
|
)
|