mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] libgpiod: select HOST_SYSTEM_PYTHON3_DEV for Python bindings
@ 2025-05-20 12:21 Markus Heidelberg via ptxdist
  2025-05-25 13:50 ` Michael Olbrich
  0 siblings, 1 reply; 6+ messages in thread
From: Markus Heidelberg via ptxdist @ 2025-05-20 12:21 UTC (permalink / raw)
  To: ptxdist; +Cc: Markus Heidelberg

python3-config has to exist, available in python3-dev Debian package.

Fixes the following error in libgpiod prepare stage:

  checking for python3-config... false
  configure: error: python3-config not found - needed for python bindings

Signed-off-by: Markus Heidelberg <m.heidelberg@cab.de>
---
 rules/libgpiod.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rules/libgpiod.in b/rules/libgpiod.in
index 94bff5164..012223ff1 100644
--- a/rules/libgpiod.in
+++ b/rules/libgpiod.in
@@ -6,6 +6,7 @@ menuconfig LIBGPIOD
 	select HOST_SYSTEM_PYTHON3
 	select GCCLIBS_CXX	if LIBGPIOD_CXX
 	select PYTHON3		if LIBGPIOD_PYTHON3
+	select HOST_SYSTEM_PYTHON3_DEV	if LIBGPIOD_PYTHON3
 	help
 	  libgpiod is a library accompanied by a set of tools for
 	  interacting with the Linux GPIO character device.
-- 
2.43.0




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-05-30 13:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-20 12:21 [ptxdist] [PATCH] libgpiod: select HOST_SYSTEM_PYTHON3_DEV for Python bindings Markus Heidelberg via ptxdist
2025-05-25 13:50 ` Michael Olbrich
2025-05-27 11:28   ` Markus Heidelberg via ptxdist
2025-05-27 12:06     ` Michael Olbrich
2025-05-28 14:49       ` Markus Heidelberg via ptxdist
2025-05-30 13:25         ` [ptxdist] [PATCH v2] libgpiod: override location of python3-config Markus Heidelberg via ptxdist

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox