1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/source4/lib/policy/wscript_build
Andrew Bartlett d11b281aef build: Remove incorrect pyembed=True from samba-policy
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>
2024-06-05 20:42:34 +00:00

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'
)