libgpiod: add python-setuptools host build dep
authorErnestas Kulik <redacted>
Fri, 1 May 2026 08:59:47 +0000 (11:59 +0300)
committerAlexandru Ardelean <redacted>
Sun, 3 May 2026 11:30:00 +0000 (14:30 +0300)
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 <redacted>
libs/libgpiod/Makefile

index 66e9c773306e9ce6b7699920ba2e10052496766a..3f3c4734139a0498645e9cbf9063edba63c3c42d 100644 (file)
@@ -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
 
git clone https://git.99rst.org/PROJECT