From: Andreas Schneider Date: Thu, 8 Sep 2022 08:32:38 +0000 (+0200) Subject: s4:gensec: Do not link subsystems against dlopen() modules! X-Git-Tag: talloc-2.4.0~1115 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b475e02066437920b671bdd0f91602f4f5b7c5f0;p=thirdparty%2Fsamba.git s4:gensec: Do not link subsystems against dlopen() modules! This is not a shared library. This only worked because we use '--as-needed' as linker option. Signed-off-by: Andreas Schneider Reviewed-by: Douglas Bagnall Reviewed-by: Andrew Bartlett --- diff --git a/source4/auth/gensec/wscript_build b/source4/auth/gensec/wscript_build index 20271f1665b..2885eb0a948 100644 --- a/source4/auth/gensec/wscript_build +++ b/source4/auth/gensec/wscript_build @@ -20,7 +20,7 @@ bld.SAMBA_MODULE('gensec_krb5', bld.SAMBA_SUBSYSTEM('gensec_krb5_helpers', source='gensec_krb5_helpers.c', - deps='gensec_krb5', + deps='talloc authkrb5', enabled=bld.AD_DC_BUILD_IS_ENABLED()) bld.SAMBA_MODULE('gensec_gssapi',