From 1935316a49eac082c14796258d90f9dfdd7c3996 Mon Sep 17 00:00:00 2001 From: Ernestas Kulik Date: Fri, 1 May 2026 11:59:47 +0300 Subject: [PATCH] libgpiod: add python-setuptools host build dep If python3-gpiod is enabled and the python-setuptools host package is missing, the setuptools.build_meta import will cause a build failure. Fix this by adding a conditional build dependency. Signed-off-by: Ernestas Kulik --- libs/libgpiod/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/libgpiod/Makefile b/libs/libgpiod/Makefile index 66e9c77330..3f3c473413 100644 --- a/libs/libgpiod/Makefile +++ b/libs/libgpiod/Makefile @@ -23,6 +23,8 @@ PKG_INSTALL:=1 PKG_BUILD_PARALLEL:=1 PYTHON3_PKG_BUILD:=0 +PKG_BUILD_DEPENDS:=PACKAGE_python3-gpiod:python-setuptools/host + include $(INCLUDE_DIR)/package.mk include ../../lang/python/python3-package.mk