These modules are used by default and for various reasons cannot be compiled into a .so
The code setting up these lists is generic, so it is easier to just assert early,
for this non-default configuration.
Andrew Bartlett
Signed-off-by: Andreas Schneider <asn@samba.org>
Address bug #9295 - Can't find guest.so module if auth_builtin is built as
module.
Autobuild-User(master): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(master): Thu Oct 18 13:14:38 CEST 2012 on sn-devel-104
final_static_modules.remove(m)
final_shared_modules.append(m)
+ if ("auth_domain" not in final_static_modules) or \
+ ("auth_builtin" not in final_static_modules) or \
+ ("auth_sam" not in final_static_modules) or \
+ ("auth_winbind" not in final_static_modules):
+ raise Utils.WafError('These auth modules MUST be configured as static modules: auth_domain, auth_builtin, auth_sam, auth_winbind')
+
conf.env['static_modules'] = final_static_modules
conf.env['shared_modules'] = final_shared_modules