build: fixed the build without sasl libraries
[nivanova/samba-autobuild/.git] / source4 / auth / gensec / wscript_build
index 444608d644712e66a743f418f0bcf4a79502334a..b9fa5f4c4958c33266b36ea29b6ef1e7037e3560 100644 (file)
@@ -28,7 +28,8 @@ bld.SAMBA_MODULE('cyrus_sasl',
        source='cyrus_sasl.c',
        subsystem='gensec',
        init_function='gensec_sasl_init',
-       deps='CREDENTIALS SASL'
+       deps='CREDENTIALS SASL',
+        enabled=bld.CONFIG_SET('HAVE_SASL')
        )