summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRosen Penev2024-09-25 17:42:15 +0000
committerRobert Marko2024-09-26 09:08:23 +0000
commit676a2ab03b37895ae47f7730cb9abcee38ebe774 (patch)
tree63ace85c07862c11073642411c6809817812a0d8
parent9567dbe3a12b964ff9d29a83f443c6e804640083 (diff)
downloadopenwrt-676a2ab03b37895ae47f7730cb9abcee38ebe774.tar.gz
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 <rosenp@gmail.com> 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 <robimarko@gmail.com>
-rw-r--r--tools/e2fsprogs/Makefile4
1 files changed, 4 insertions, 0 deletions
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