summaryrefslogtreecommitdiff
path: root/lib/util/wscript_build
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util/wscript_build')
-rwxr-xr-xlib/util/wscript_build13
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/util/wscript_build b/lib/util/wscript_build
index e601ecd4ed..340cf12cd4 100755
--- a/lib/util/wscript_build
+++ b/lib/util/wscript_build
@@ -45,12 +45,13 @@ bld.SAMBA_LIBRARY('util_tdb',
private_library=True
)
-bld.SAMBA_LIBRARY('util_ntdb',
- source='util_ntdb.c',
- local_include=False,
- public_deps='ntdb talloc samba-util samba-hostconfig',
- private_library=True
- )
+if not bld.env.disable_ntdb:
+ bld.SAMBA_LIBRARY('util_ntdb',
+ source='util_ntdb.c',
+ local_include=False,
+ public_deps='ntdb talloc samba-util samba-hostconfig',
+ private_library=True
+ )
bld.SAMBA_LIBRARY('tevent-util',
source='tevent_unix.c tevent_ntstatus.c tevent_werror.c',