summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-10-10 16:46:55 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-10-10 23:37:34 +0200
commit8f6ca4859c4d377974fa61a3de10d6304b562986 (patch)
tree8e2c33b039ea7f54f5eadabc1989871ea3ce44a8
parent7ba7ca7062cf7d239c169eda4aa779eaaa2bb780 (diff)
downloadsamba-8f6ca4859c4d377974fa61a3de10d6304b562986.tar.gz
samba-8f6ca4859c4d377974fa61a3de10d6304b562986.tar.bz2
samba-8f6ca4859c4d377974fa61a3de10d6304b562986.zip
gensec: Support building without any linked-in modules.
-rw-r--r--source4/auth/gensec/gensec.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/auth/gensec/gensec.c b/source4/auth/gensec/gensec.c
index 7f76643bf7..606e4f15bd 100644
--- a/source4/auth/gensec/gensec.c
+++ b/source4/auth/gensec/gensec.c
@@ -1394,6 +1394,10 @@ bool gensec_setting_bool(struct gensec_settings *settings, const char *mechanism
return lpcfg_parm_bool(settings->lp_ctx, NULL, mechanism, name, default_value);
}
+#ifndef STATIC_gensec_MODULES
+#define STATIC_gensec_MODULES NULL
+#endif
+
/*
initialise the GENSEC subsystem
*/