mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 05:49:57 +00:00
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>
This commit is contained in:
committed by
Armin Kuster
parent
a12eff7e3f
commit
37b9a7a114
@@ -23,6 +23,7 @@ PACKAGECONFIG[examples] = "-DGATTLIB_BUILD_EXAMPLES=ON,-DGATTLIB_BUILD_EXAMPLES=
|
||||
# Set this to force use of DBus API if Bluez version is older than 5.42
|
||||
PACKAGECONFIG[force-dbus] = "-DGATTLIB_FORCE_DBUS=TRUE,-DGATTLIB_FORCE_DBUS=FALSE"
|
||||
|
||||
EXTRA_OECMAKE += "-DGATTLIB_PYTHON_INTERFACE=OFF"
|
||||
EXTRA_OECMAKE += "-DGATTLIB_BUILD_DOCS=OFF"
|
||||
|
||||
inherit pkgconfig cmake
|
||||
|
||||
Reference in New Issue
Block a user