Skip to content

Commit

Permalink
waf: add k5crypto to the list of system libraries if they are reporte…
Browse files Browse the repository at this point in the history
…d 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 <[email protected]>
Reviewed-by: Michael Adam <[email protected]>
  • Loading branch information
ekacnet authored and obnoxxx committed Oct 3, 2014
1 parent 0d1e326 commit 540f3ad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions wscript_configure_system_mitkrb5
Original file line number Diff line number Diff line change
Expand Up @@ -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'])

Expand Down

0 comments on commit 540f3ad

Please sign in to comment.