From e8e461bba5942b4711b94a57799600fb4eb226c1 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Mon, 20 Feb 2023 15:27:46 +0100 Subject: [PATCH] package/libarchive: fix host build Fix the following host build failure raised since commit 9525bc7e64e8f44c31ab9dfd3f516ecb35982429: configure.ac:140: error: possibly undefined macro: AC_MSG_FAILURE If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:328: error: possibly undefined macro: AC_CHECK_LIB Fixes: - http://autobuild.buildroot.org/results/11868e9bc4916843a7fc76f7b5e4c251f89e33dc Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/libarchive/libarchive.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/libarchive/libarchive.mk b/package/libarchive/libarchive.mk index cd7c13fbed..2010b6529f 100644 --- a/package/libarchive/libarchive.mk +++ b/package/libarchive/libarchive.mk @@ -140,6 +140,8 @@ endif # The only user of host-libarchive needs zlib support HOST_LIBARCHIVE_DEPENDENCIES = host-zlib +# needed for autoreconf +HOST_LIBARCHIVE_DEPENDENCIES += host-pkgconf HOST_LIBARCHIVE_CONF_OPTS = \ --disable-bsdtar \ --disable-bsdcpio \