python3: replace e2fsprogs includes
authorRosen Penev <[email protected]>
Sat, 29 Jun 2024 19:03:28 +0000 (12:03 -0700)
committerRosen Penev <[email protected]>
Fri, 12 Jul 2024 20:10:49 +0000 (13:10 -0700)
libuuid is provided by util-linux now.

Signed-off-by: Rosen Penev <[email protected]>
lang/python/python3/Makefile

index f34fc86951d9edd5dcdc64ab98e2e6e4fd5cfccf..71990893dfca30cec711a69694cb43ce72b743c1 100644 (file)
@@ -284,12 +284,13 @@ endef
 Py3Package/python3-light/install:=:
 Package/python3/install:=:
 
-# libuuid is provided by e2fsprogs and uuid/uuid.h is moved into
-# $(STAGING_DIR_HOST)/include/e2fsprogs
+# libuuid is provided by util-linux and pkgconfig does not work properly with
+# tools. Add the necessary includes manually.
+# $(STAGING_DIR_HOST)/include/uuid
 HOST_CFLAGS += \
-       -I$(STAGING_DIR_HOST)/include/e2fsprogs
+       -I$(STAGING_DIR_HOST)/include/uuid
 HOST_CPPFLAGS += \
-       -I$(STAGING_DIR_HOST)/include/e2fsprogs
+       -I$(STAGING_DIR_HOST)/include/uuid
 
 HOST_LDFLAGS += \
        -Wl$(comma)-rpath$(comma)$(STAGING_DIR_HOSTPKG)/lib