diff options
author | Andrew Bartlett <abartlet@samba.org> | 2021-12-02 11:33:02 +1300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2021-12-06 20:56:33 +0000 |
commit | 209a33670fab5dd7373444ae1ce76dbb5dfa0058 (patch) | |
tree | 64bd504a39b6328df90ebd99cf65c8811ff0aa50 /buildtools | |
parent | d6380560f871a0097366b26382d2ac22b60bc48e (diff) | |
download | samba-209a33670fab5dd7373444ae1ce76dbb5dfa0058.tar.gz |
build: Only use embedded Heimdal include paths in an embedded Heimdal build
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14924
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Diffstat (limited to 'buildtools')
-rw-r--r-- | buildtools/wafsamba/samba3.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/buildtools/wafsamba/samba3.py b/buildtools/wafsamba/samba3.py index ebc7fbb707f..4277c5f6f2e 100644 --- a/buildtools/wafsamba/samba3.py +++ b/buildtools/wafsamba/samba3.py @@ -35,8 +35,8 @@ def s3_fix_kwargs(bld, kwargs): # the extra_includes list is relative to the source3 directory extra_includes = [ '.', 'include', 'lib' ] - # local heimdal paths only included when USING_SYSTEM_KRB5 is not set - if not bld.CONFIG_SET("USING_SYSTEM_KRB5"): + # local heimdal paths must only be included when using our embedded Heimdal + if bld.CONFIG_SET("USING_EMBEDDED_HEIMDAL"): extra_includes += [ '../source4/heimdal/lib/com_err', '../source4/heimdal/lib/krb5', '../source4/heimdal/lib/gssapi', |