diff options
author | Matthieu Patou <mat@matws.net> | 2014-05-14 16:38:08 -0700 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2014-10-03 11:01:42 +0200 |
commit | 540f3ad347998c1fbe6d30380c02186cb1f88aa4 (patch) | |
tree | a79d36dc7b44422ecad6c52d4a8e9125016ef026 /wscript_configure_system_mitkrb5 | |
parent | 0d1e326a68d7b89d548a4b0e03be598c64d13224 (diff) | |
download | samba-540f3ad347998c1fbe6d30380c02186cb1f88aa4.tar.gz samba-540f3ad347998c1fbe6d30380c02186cb1f88aa4.tar.xz samba-540f3ad347998c1fbe6d30380c02186cb1f88aa4.zip |
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@matws.net>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'wscript_configure_system_mitkrb5')
-rw-r--r-- | wscript_configure_system_mitkrb5 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/wscript_configure_system_mitkrb5 b/wscript_configure_system_mitkrb5 index e0d3760ade..ce49ab7518 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']) |