summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/libgpiod
diff options
context:
space:
mode:
authorFerry <ftoth@telfort.nl>2019-01-07 17:17:27 +0100
committerKhem Raj <raj.khem@gmail.com>2019-01-10 09:05:36 -0800
commitc44679b4942a30ac89013343f987403ec63f0ece (patch)
tree5e95727145056e7a8465b8716ff80df51adb49af /meta-oe/recipes-support/libgpiod
parent73c5e54ffac48d73775083c3192ae61e9a252bc1 (diff)
downloadmeta-openembedded-c44679b4942a30ac89013343f987403ec63f0ece.tar.gz
libgpiod_1.2: add dependency on python when building python bindings
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@exalondelft.nl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/libgpiod')
-rw-r--r--meta-oe/recipes-support/libgpiod/libgpiod_1.2.bb2
1 files changed, 1 insertions, 1 deletions
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
7 7
8PACKAGECONFIG[cxx] = "--enable-bindings-cxx,--disable-bindings-cxx" 8PACKAGECONFIG[cxx] = "--enable-bindings-cxx,--disable-bindings-cxx"
9 9
10PACKAGECONFIG[python3] = "--enable-bindings-python,--disable-bindings-python," 10PACKAGECONFIG[python3] = "--enable-bindings-python,--disable-bindings-python,python3"
11inherit ${@bb.utils.contains('PACKAGECONFIG', 'python3', 'python3native', '', d)} 11inherit ${@bb.utils.contains('PACKAGECONFIG', 'python3', 'python3native', '', d)}
12 12
13PACKAGES =+ "${PN}-python" 13PACKAGES =+ "${PN}-python"