[PATCH] waf: add k5crypto to the list of system libraries if they are reported by the krb5config but not found as requied by the different tests

Michael Adam obnox at samba.org
Fri Oct 3 02:40:28 MDT 2014


looks good - pushing.

On 2014-10-03 at 01:15 -0700, Matthieu Patou wrote:
> Hello,
> 
> This is a resend of a patch that was asked for review a few months ago.
> Review has been droped, can someone (alexey ?) can have a look ?
> 
> Thanks.
> -- 
> Matthieu Patou
> Samba Team
> http://samba.org

> >From e45b9bfdc93f74b527b03207c3c1fd41e4daab10 Mon Sep 17 00:00:00 2001
> From: Matthieu Patou <mat at matws.net>
> Date: Wed, 14 May 2014 16:38:08 -0700
> Subject: [PATCH] waf: add k5crypto to the list of system libraries if they are
>  reported by the krb5config but not found as requied by the different tests
> 
> Otherwise on some systems we have error message like
> "Implied dependency k5crypto in winbind_krb5_locator is of type EMPTY"
> Even though krb5config indicated that this library is needed and the
> library is present
> 
> Signed-off-by: Matthieu Patou <mat at matws.net>
> ---
>  wscript_configure_system_mitkrb5 | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/wscript_configure_system_mitkrb5 b/wscript_configure_system_mitkrb5
> index e0d3760..ce49ab7 100644
> --- a/wscript_configure_system_mitkrb5
> +++ b/wscript_configure_system_mitkrb5
> @@ -28,6 +28,10 @@ if conf.env.KRB5_CONFIG:
>      conf.check_cfg(path=conf.env.KRB5_CONFIG, args="--cflags --libs",
>                 package="gssapi", uselib_store="GSSAPI")
>      krb5_define_syslib(conf, "gssapi", conf.env['LIB_GSSAPI'])
> +    if 'k5crypto' in conf.env['LIB_GSSAPI']:
> +        krb5_define_syslib(conf, "k5crypto", conf.env['LIB_GSSAPI'])
> +    if 'com_err' in conf.env['LIB_GSSAPI']:
> +        krb5_define_syslib(conf, "com_err", conf.env['LIB_GSSAPI'])
>      if 'gssapi_krb5' in conf.env['LIB_GSSAPI']:
>          krb5_define_syslib(conf, "gssapi_krb5", conf.env['LIB_GSSAPI'])
>  
> -- 
> 1.9.1
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20141003/0a478483/attachment.pgp>


More information about the samba-technical mailing list