summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/util/wscript_build3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/util/wscript_build b/lib/util/wscript_build
index 5180c8c2a4c..dfb5623b15b 100644
--- a/lib/util/wscript_build
+++ b/lib/util/wscript_build
@@ -79,7 +79,8 @@ bld.SAMBA_SUBSYSTEM('UTIL_TEVENT',
)
-bld.SAMBA_SUBSYSTEM('UTIL_LDB',
+if bld.env._SAMBA_BUILD_ == 4:
+ bld.SAMBA_SUBSYSTEM('UTIL_LDB',
source='util_ldb.c',
local_include=False,
public_deps='ldb',