[PATCH] kerberos: Fix compilation on systems where SONAME_LIBKRB5 is not defined.

Dmitry Timoshkov dmitry at baikal.ru
Tue Jul 2 04:02:38 CDT 2019


Hans Leidekker <hans at codeweavers.com> wrote:

> On Tue, 2019-07-02 at 11:05 +0800, Dmitry Timoshkov wrote:
> > Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
> > ---
> >  dlls/kerberos/krb5_ap.c | 12 ++++++++++++
> >  1 file changed, 12 insertions(+)
> > 
> > diff --git a/dlls/kerberos/krb5_ap.c b/dlls/kerberos/krb5_ap.c
> > index 3827e5ccbc..0a6463c5f3 100644
> > --- a/dlls/kerberos/krb5_ap.c
> > +++ b/dlls/kerberos/krb5_ap.c
> > @@ -842,6 +842,8 @@ static int get_buffer_index( SecBufferDesc *desc, DWORD type )
> >      return -1;
> >  }
> >  
> > +#ifdef SONAME_LIBKRB5
> 
> Where do you see this? Note that this code is inside an #ifdef SONAME_LIBGSSAPI_KRB5
> block and configure should disable gssapi when it can't detect krb5. This means that
> SONAME_LIBGSSAPI_KRB5 should not be set when SONAME_LIBKRB5 isn't.

I can confirm that on my system configure undefs SONAME_LIBGSSAPI_KRB5.

Unfortunately that's not on one of my machines. According to the reporter,
configure fails to find libkrb55.so but successfully locates libgssapi.so,
and configure log confirms that.

-- 
Dmitry.



More information about the wine-devel mailing list