summaryrefslogtreecommitdiff
path: root/source4/lib/ldb-samba/wscript_build
blob: 717a8465a7da72993357d99cbe91696af0059faf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/env python


# It is important that this is a library!
# Otherwise samba specific symbols end up in
# 'ldb' and we fail the ABI check, when not using
# a system 'ldb'.
bld.SAMBA_LIBRARY('LDBSAMBA',
	source='ldif_handlers.c ldb_wrap.c',
	autoproto='ldif_handlers_proto.h',
	public_deps='ldb',
	public_headers='ldb_wrap.h',
	deps='LIBSECURITY SAMDB_SCHEMA LIBNDR NDR_DRSBLOBS CREDENTIALS UTIL_LDB'
	)


bld.SAMBA_PYTHON('python_samba__ldb', 'pyldb.c',
				 deps='LDBSAMBA pyparam_util',
				 realname='samba/_ldb.so')