Parcourir la source

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 <[email protected]>
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 <[email protected]>
Rosen Penev il y a 1 an
Parent
commit
676a2ab03b
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 4 0
      tools/e2fsprogs/Makefile

+ 4 - 0
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