diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2021-12-03 21:39:14 +0100 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2021-12-18 11:23:41 -0800 |
commit | 37b9a7a114e872c07bfe9881bc27c7ed87a394fb (patch) | |
tree | 81bef4b765395cfca69a9c252a03ad56684725ed | |
parent | a12eff7e3f6aa1d4150b0724d4b7939622aa598f (diff) | |
download | meta-openembedded-37b9a7a114e872c07bfe9881bc27c7ed87a394fb.tar.gz |
gattlib: Explicitly disable Python support
Under some configuration, CMake may pick up the existence of python
from the native recipe sysroot and use that when linking for target,
resulting in the following error:
ld: .../recipe-sysroot-native/usr/lib/libpython3.10.so: error adding
symbols: file in wrong format
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | meta-oe/recipes-connectivity/gattlib/gattlib_git.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/gattlib/gattlib_git.bb b/meta-oe/recipes-connectivity/gattlib/gattlib_git.bb index ecff79be4..3fe4c9404 100644 --- a/meta-oe/recipes-connectivity/gattlib/gattlib_git.bb +++ b/meta-oe/recipes-connectivity/gattlib/gattlib_git.bb | |||
@@ -23,6 +23,7 @@ PACKAGECONFIG[examples] = "-DGATTLIB_BUILD_EXAMPLES=ON,-DGATTLIB_BUILD_EXAMPLES= | |||
23 | # Set this to force use of DBus API if Bluez version is older than 5.42 | 23 | # Set this to force use of DBus API if Bluez version is older than 5.42 |
24 | PACKAGECONFIG[force-dbus] = "-DGATTLIB_FORCE_DBUS=TRUE,-DGATTLIB_FORCE_DBUS=FALSE" | 24 | PACKAGECONFIG[force-dbus] = "-DGATTLIB_FORCE_DBUS=TRUE,-DGATTLIB_FORCE_DBUS=FALSE" |
25 | 25 | ||
26 | EXTRA_OECMAKE += "-DGATTLIB_PYTHON_INTERFACE=OFF" | ||
26 | EXTRA_OECMAKE += "-DGATTLIB_BUILD_DOCS=OFF" | 27 | EXTRA_OECMAKE += "-DGATTLIB_BUILD_DOCS=OFF" |
27 | 28 | ||
28 | inherit pkgconfig cmake | 29 | inherit pkgconfig cmake |