From: Rosen Penev Date: Wed, 25 Sep 2024 17:42:15 +0000 (-0700) Subject: tools: e2fsprogs: bypass libuuid check X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=676a2ab03b37895ae47f7730cb9abcee38ebe774;p=openwrt%2Fstaging%2Fwigyori.git 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 --- 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