Thanks, applied as 0b38f33360be9221c1bca62f7023ffdcb9a9c0e5. Michael
[sent from post-receive hook] On Thu, 12 Jun 2025 21:32:03 +0200, Markus Heidelberg <[email protected]> wrote: > It exists as python3.13-config (or whatever the minor version currently > is) in sysroot-cross directory. > > Fixes the following error in libgpiod prepare stage: > > checking for python3-config... false > configure: error: python3-config not found - needed for python bindings > > However, python3-config isn't used at all to build the Python bindings > and ac_cv_prog_has_python_config could be set to any value except > "false" to fix the error. > > Signed-off-by: Markus Heidelberg <[email protected]> > Message-Id: <[email protected]> > Signed-off-by: Michael Olbrich <[email protected]> > > diff --git a/rules/libgpiod.make b/rules/libgpiod.make > index a77acf146127..6272333b5613 100644 > --- a/rules/libgpiod.make > +++ b/rules/libgpiod.make > @@ -51,7 +51,9 @@ LIBGPIOD_CONF_OPT := \ > > LIBGPIOD_CONF_ENV := \ > $(CROSS_ENV) \ > - $(if $(PTXCONF_LIBGPIOD_PYTHON3), ac_cv_path_PYTHON=$(CROSS_PYTHON3)) > + $(if $(PTXCONF_LIBGPIOD_PYTHON3), \ > + ac_cv_path_PYTHON=$(CROSS_PYTHON3) \ > + ac_cv_prog_has_python_config=python$(PYTHON3_MAJORMINOR)-config) > > LIBGPIOD_LDFLAGS:= -Wl,-rpath-link,$(LIBGPIOD_DIR)/lib/.libs >
