mirror of
https://github.com/samba-team/samba.git
synced 2024-12-21 09:34:19 +03:00
a3ee0ce255
Previously, the call to CHECK_BUNDLED_SYSTEM() in check_system_heimdal_lib() could have us pick up MIT Kerberos headers when we should only be using system Heimdal headers. Now, we just perform an explicit check for the functions we require, which should avoid any use of the MIT libraries. We also remove some library checks for Heimdal components that we don't use directly, restricting the checks to only the functions we need. Finally, we no longer need to recurse into third_party/heimdal_build when performing a system Heimdal build. Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
11 lines
356 B
Plaintext
11 lines
356 B
Plaintext
from waflib import Logs
|
|
|
|
Logs.info("\tSelected system Heimdal build")
|
|
|
|
# Alias subsystem to allow common kerberos code that will
|
|
# otherwise link against MIT's gssapi_krb5 and k5crypto
|
|
#
|
|
# Note: that we also need this if we use system heimdal libraries
|
|
bld.SAMBA_SUBSYSTEM('gssapi_krb5', '', deps='gssapi')
|
|
bld.SAMBA_SUBSYSTEM('k5crypto', '', deps='krb5')
|