wscript: Correctly determine dependencies for system Heimdal build
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Thu, 3 Nov 2022 04:35:35 +0000 (17:35 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 8 Nov 2022 02:39:37 +0000 (02:39 +0000)
commita3ee0ce255c7acb7abf58e70b75025b5fefdb275
treebc32bfe2bc01ffc0129d35807f5da8b9deefe5bc
parent77bb72d67204b58d0ae7a183e2a8988597faf15c
wscript: Correctly determine dependencies for system Heimdal build

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>
wscript_build_system_heimdal
wscript_configure_system_heimdal