From: Ernestas Kulik Date: Fri, 1 May 2026 08:59:47 +0000 (+0300) Subject: libgpiod: add python-setuptools host build dep X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=1935316a49eac082c14796258d90f9dfdd7c3996;p=openwrt-packages.git 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 --- diff --git a/libs/libgpiod/Makefile b/libs/libgpiod/Makefile index 66e9c7733..3f3c47341 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