[OE-core] [PATCH] libgpiod_1.2: add a dependency on python when building python bindings

Ferry Toth ftoth at telfort.nl
Mon Jan 7 12:56:15 UTC 2019


Commit ab54dd75 "libgpiod: Rrecommend python3 only for PN-python 
package" also removes the build dependency

on python3 however this results in fatal error: Python.h: No such file 
or directory #include <Python.h>

Signed-off-by: Ferry Toth <ftoth at exalondelft.nl>

---
meta-oe/recipes-support/libgpiod/libgpiod_1.2.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_1.2.bb 
b/meta-oe/recipes-support/libgpiod/libgpiod_1.2.bb
index dd080ff9d..93165a0c2 100644
--- a/meta-oe/recipes-support/libgpiod/libgpiod_1.2.bb
+++ b/meta-oe/recipes-support/libgpiod/libgpiod_1.2.bb
@@ -7,7 +7,7 @@ SRC_URI[sha256sum] = 
"b6b9079c933f7c8524815437937dda6b795a16141bca202a9eec70ba58
PACKAGECONFIG[cxx] = "--enable-bindings-cxx,--disable-bindings-cxx"
-PACKAGECONFIG[python3] = 
"--enable-bindings-python,--disable-bindings-python,"
+PACKAGECONFIG[python3] = 
"--enable-bindings-python,--disable-bindings-python,python3"
inherit ${@bb.utils.contains('PACKAGECONFIG', 'python3', 
'python3native', '', d)}
PACKAGES =+ "${PN}-python"


More information about the Openembedded-core mailing list