[OE-core] [OE-Core][PATCH] libxcrypt: Enable static builds

Andre McCurdy armccurdy at gmail.com
Tue Jan 28 20:06:58 UTC 2020


On Tue, Jan 28, 2020 at 4:48 AM Alex Kiernan <alex.kiernan at gmail.com> wrote:
>
> Let me have a look at that - what got me here was trying to get a
> static busybox so I could OSTree's tests to pass, which all turned out
> to be way harder than I expected; this was just one of the things I
> tripped over.

Busybox shouldn't need to link with libxcrypt if USE_BB_CRYPT is
enabled (which it is in OE's default Busybox defconfig).

There's a long standing bug in Busybox whereby crypt.h gets included
unconditionally (instead of being guarded by #if ENABLE_USE_BB_CRYPT
etc) so the Busybox recipe still needs to depend on virtual/crypt but
it's only a compile time dependency.


More information about the Openembedded-core mailing list