mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
Build python-ntdb bindings if ntdb was found but python-ntdb was not.
Change-Id: I54c248effa63fe65e2bef0d41535d8eec0ef28c0 Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
b0cba7950a
commit
bd13405e85
@ -211,13 +211,13 @@ def build(bld):
|
||||
deps='ntdb-test-helpers ntdb-api-helpers ntdb-testing',
|
||||
install=False)
|
||||
|
||||
if not bld.CONFIG_SET('USING_SYSTEM_PYNTDB'):
|
||||
bld.SAMBA_PYTHON('pyntdb',
|
||||
source='pyntdb.c',
|
||||
deps='ntdb',
|
||||
enabled=not bld.env.disable_python,
|
||||
realname='ntdb.so',
|
||||
cflags='-DPACKAGE_VERSION=\"%s\"' % VERSION)
|
||||
if not bld.CONFIG_SET('USING_SYSTEM_PYNTDB'):
|
||||
bld.SAMBA_PYTHON('pyntdb',
|
||||
source='pyntdb.c',
|
||||
deps='ntdb',
|
||||
enabled=not bld.env.disable_python,
|
||||
realname='ntdb.so',
|
||||
cflags='-DPACKAGE_VERSION=\"%s\"' % VERSION)
|
||||
|
||||
def testonly(ctx):
|
||||
'''run ntdb testsuite'''
|
||||
|
Loading…
x
Reference in New Issue
Block a user