[PATCH 42/55] Build python-ntdb bindings if ntdb was found but python-ntdb was not.
Jelmer Vernooij
jelmer at samba.org
Fri Feb 6 12:04:14 MST 2015
Change-Id: I54c248effa63fe65e2bef0d41535d8eec0ef28c0
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
---
lib/ntdb/wscript | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/lib/ntdb/wscript b/lib/ntdb/wscript
index cb2de80..a21c1a3 100644
--- a/lib/ntdb/wscript
+++ b/lib/ntdb/wscript
@@ -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'''
--
2.1.4
More information about the samba-technical
mailing list