aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartosz Golaszewski <brgl@bgdev.pl>2018-06-12 16:53:23 +0200
committerKhem Raj <raj.khem@gmail.com>2018-06-14 08:57:14 -0700
commit5554fd12ac55e1ba237ef0b71f95b67c7243887f (patch)
treec288a767a8d3f53e48ea43201bd9323c6fffb804
parentae41c0e250df06886e76162a3336c9b8ad787488 (diff)
downloadmeta-openembedded-contrib-5554fd12ac55e1ba237ef0b71f95b67c7243887f.tar.gz
meta-openembedded-contrib-5554fd12ac55e1ba237ef0b71f95b67c7243887f.tar.bz2
meta-openembedded-contrib-5554fd12ac55e1ba237ef0b71f95b67c7243887f.zip
libgpiod: add packageconfig for C++ bindings
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/libgpiod/libgpiod_1.1.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_1.1.bb b/meta-oe/recipes-support/libgpiod/libgpiod_1.1.bb
index 1bda8bc3a1..ab0bc980da 100644
--- a/meta-oe/recipes-support/libgpiod/libgpiod_1.1.bb
+++ b/meta-oe/recipes-support/libgpiod/libgpiod_1.1.bb
@@ -5,6 +5,8 @@ DEPENDS += "autoconf-archive-native"
SRC_URI[md5sum] = "80237a047a9d653a14c5d71e5ce9d641"
SRC_URI[sha256sum] = "9758466468a7ef3f5e30c182c1303abef6241e665cda4d82a64328a7474838c1"
+PACKAGECONFIG[cxx] = "--enable-bindings-cxx,--disable-bindings-cxx"
+
PACKAGECONFIG[python3] = "--enable-bindings-python,--disable-bindings-python,python3,python3-core"
inherit ${@bb.utils.contains('PACKAGECONFIG', 'python3', 'python3native', '', d)}