CVE-2023-0614 ldb: Use binary search to check whether attribute is secret
[Samba.git] / source4 / lib / policy / wscript_build
blob027d4bef0b67c6442dcb6eadf692ce222ebabd30
1 #!/usr/bin/env python
5 pytalloc_util = bld.pyembed_libname('pytalloc-util')
6 samba_policy = bld.pyembed_libname('samba-policy')
7 samba_net = bld.pyembed_libname('samba-net')
8 bld.SAMBA_LIBRARY(samba_policy,
9 source='gp_ldap.c gp_filesys.c gp_manage.c gp_ini.c',
10 pc_files='samba-policy.pc',
11 public_deps='ldb %s' % samba_net,
12 vnum='0.0.1',
13 pyembed=True,
14 public_headers='policy.h',
15 enabled=bld.PYTHON_BUILD_IS_ENABLED()
17 bld.SAMBA_PYTHON(
18 'py_policy',
19 source='pypolicy.c',
20 public_deps='%s %s' % (samba_policy, pytalloc_util),
21 realname='samba/policy.so'