From 676a2ab03b37895ae47f7730cb9abcee38ebe774 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Wed, 25 Sep 2024 10:42:15 -0700 Subject: [PATCH] tools: e2fsprogs: bypass libuuid check The check is the wrong way around. It uses AC_CHECK_LIBS and then pkg-config, probably because the latter is a second class citizen. Just bypass it. pkg-config gets used anyway. Signed-off-by: Rosen Penev Link: https://github.com/openwrt/openwrt/pull/16480 Link: https://github.com/openwrt/openwrt/pull/16480 Link: https://github.com/openwrt/openwrt/pull/16480 Signed-off-by: Robert Marko --- tools/e2fsprogs/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/e2fsprogs/Makefile b/tools/e2fsprogs/Makefile index 8a8a2e181f..50c3888b64 100644 --- a/tools/e2fsprogs/Makefile +++ b/tools/e2fsprogs/Makefile @@ -33,6 +33,10 @@ HOST_CONFIGURE_ARGS += \ --disable-fuse2fs \ --with-crond-dir=no +# The following uses pkg-config the wrong way around. Just override it. +HOST_CONFIGURE_VARS += \ + ac_cv_lib_uuid_uuid_generate=yes + define Host/Prepare $(call Host/Prepare/Default) rm -rf $(HOST_BUILD_DIR)/doc -- 2.30.2