[PATCH v5 1/1] build: add libarchive to external deps

Thomas Monjalon thomas at monjalon.net
Mon Nov 6 16:24:49 CET 2023


06/11/2023 09:53, Bruce Richardson:
> On Sun, Nov 05, 2023 at 08:12:43PM -0800, Srikanth Yalavarthi wrote:
> > In order to avoid linking with Libs.private, libarchive
> > is not added to ext_deps during the meson setup stage.
> > 
> > Since libarchive is not added to ext_deps, cross-compilation
> > or native compilation with libarchive installed in non-standard
> > location fails with errors related to "cannot find -larchive"
> > or "archive.h: No such file or directory". In order to fix the
> > build failures, user is required to define the 'c_args' and
> > 'c_link_args' with '-I<includedir>' and '-L<libdir>'.
> > 
> > This patch adds libarchive to ext_deps and further would not
> > require setting c_args and c_link_args externally.
> > 
> > Fixes: 40edb9c0d36b ("eal: handle compressed firmware")
> > Cc: stable at dpdk.org
> > 
> > Signed-off-by: Srikanth Yalavarthi <syalavarthi at marvell.com>
> 
> Acked-by: Bruce Richardson <bruce.richardson at intel.com>

I'm not sure to understand which new failure will happen.
Was there a problem solved in new libarchive packages?




More information about the stable mailing list