mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
d11b281aef
This is a normal C library, used by python but does not use any python itself (nor by dependencies any longer). Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
18 lines
435 B
Python
18 lines
435 B
Python
#!/usr/bin/env python
|
|
|
|
|
|
|
|
pytalloc_util = bld.pyembed_libname('pytalloc-util')
|
|
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 samba-net',
|
|
vnum='0.0.1',
|
|
public_headers='policy.h')
|
|
bld.SAMBA_PYTHON(
|
|
'py_policy',
|
|
source='pypolicy.c',
|
|
public_deps=f'samba-policy {pytalloc_util}',
|
|
realname='samba/policy.so'
|
|
)
|