On 18 Aug 2025, at 19:28, John Baldwin <j...@freebsd.org> wrote:
> 
> On 8/18/25 11:32, Lexi Winter wrote:
>> John Baldwin:
>>> On 8/16/25 22:27, Lexi Winter wrote:
>>>>      Makefile.libcompat: Tweak krb5 compat dirs
>>> 
>>> Why not just move these directories over to krb5/lib?
>> i was planning to discuss this with Cy, but the reason is that some of
>> the libraries in util/ require compile_et, which is also in util/, so
>> it's more complicated than just moving the libraries to lib/.
> 
> As noted on IRC, I think this would be a no-op.  Today krb5/Makefile
> builds util before lib, so moving items from the end of krb5/util/Makefile
> to the start of krb5/lib/Makefile should preserve the same relative
> order (I'm assuming changing the relative position of krb5/include
> shouldn't matter).

Libraries are built before executables, so ordering between them in
subdirectories is often irrelevant, and libraries require the
*bootstrap* compile_et, not the one built for the target (even if the
same architecture). There should be no need for any of this, and it
just makes things more annoying to get right for libcompat.

Jessica


Reply via email to