Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: add libarchive to optional external dependencies
[ upstream commit 22f7184e8b5f1b546ac26dd0bde8c3c6038a7e03 ] 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: 40edb9c ("eal: handle compressed firmware") Signed-off-by: Srikanth Yalavarthi <syalavarthi@marvell.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
- Loading branch information