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 <ernestas@baltic.engineering>
This commit is contained in:
Ernestas Kulik
2026-05-01 11:59:47 +03:00
committed by Alexandru Ardelean
parent 2fc1a5deeb
commit 1935316a49
+2
View File
@@ -23,6 +23,8 @@ PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1 PKG_BUILD_PARALLEL:=1
PYTHON3_PKG_BUILD:=0 PYTHON3_PKG_BUILD:=0
PKG_BUILD_DEPENDS:=PACKAGE_python3-gpiod:python-setuptools/host
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../../lang/python/python3-package.mk include ../../lang/python/python3-package.mk