> -----Original Message-----
> From: Richardson, Bruce <[email protected]>
> Sent: Thursday, August 31, 2023 1:11 PM
> To: [email protected]
> Cc: Richardson, Bruce <[email protected]>; [email protected]; Ji, Kai
> <[email protected]>; De Lara Guarch, Pablo <[email protected]>;
> Akhil Goyal <[email protected]>; Power, Ciara <[email protected]>;
> Ray Kinsella <[email protected]>; Fan Zhang <[email protected]>
> Subject: [PATCH 2/3] crypto/ipsec_mb: fix build failures due to incompatible
> lib
>
> When cross-compiling for PowerPC on Ubuntu, the x86 IPSec_MB library was
> getting found by the build system for use in the PPC build. This led to
> failures
> at compile time due to the library not being linkable.
>
> We can avoid these failures by checking the discovered library for
> compatibility
> at configuration time. This needs a version check as it is supported only from
> version 0.60 of meson onwards.
>
> Fixes: c75542ae4200 ("crypto/ipsec_mb: introduce IPsec_mb framework")
> Cc: [email protected]
>
> Signed-off-by: Bruce Richardson <[email protected]>
Acked-by: Ciara Power <[email protected]>