build: Remove support for system libwbclient
[kamenim/samba-autobuild/.git] / wscript
diff --git a/wscript b/wscript
index 6b51a37c857b8c954bf915ecf0f9b9e240d1520e..f96327c90d73bfbfc060d78f881184e39539a264 100755 (executable)
--- a/wscript
+++ b/wscript
@@ -84,7 +84,8 @@ def configure(conf):
 
     conf.RECURSE('dynconfig')
     conf.RECURSE('lib/ldb')
-    conf.RECURSE('source4/heimdal_build')
+    if not os.getenv('USING_SYSTEM_KRB5'):
+        conf.RECURSE('source4/heimdal_build')
     conf.RECURSE('source4/lib/tls')
     conf.RECURSE('source4/ntvfs/sysdep')
     conf.RECURSE('lib/util')
@@ -104,6 +105,7 @@ def configure(conf):
     conf.RECURSE('selftest')
     conf.RECURSE('source3')
     conf.RECURSE('lib/addns')
+    conf.RECURSE('source3/libsmb')
 
     conf.SAMBA_CHECK_UNDEFINED_SYMBOL_FLAGS()