diff options
author | Yanfei Xu <yanfei.xu@windriver.com> | 2019-12-25 15:44:25 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-12-30 08:47:09 +0000 |
commit | b708af54ad35aa7940e946e9d260a3ca2e7a04c1 (patch) | |
tree | ccbdd628ca01d62111d7df9500ce4cb89c8040fe /meta/recipes-graphics | |
parent | 4480d7a3c583faa15d16a7b109646bf735bb79dd (diff) | |
download | poky-b708af54ad35aa7940e946e9d260a3ca2e7a04c1.tar.gz |
libsdl2: fix failure appeared in bitbake libsdl2-native
When you bitbake libsdl2-native and your host had installed fcitx
or ibus, it may cause you bitbake failed in do_compile.
Disable fcitx and ibus check with EXTRA_OECONF in bb file.
-------------snip---------------------
CC build/SDL_sysfilesystem.lo
CC build/SDL_syshaptic.lo
CC build/SDL_systimer.lo
/poky/build/tmp/work/x86_64-linux/libsdl2-native/2.0.10-r0/SDL2-2.0.10/src/core/linux/SDL_fcitx.c:52:5:
error: unknown type name ‘SDL_DBusContext’
SDL_DBusContext *dbus;
^~~~~~~~~~~~~~~
/poky/build/tmp/work/x86_64-linux/libsdl2-native/2.0.10-r0/SDL2-2.0.10/src/core/linux/SDL_fcitx.c:121:8:
error: unknown type name ‘DBusHandlerResult’
static DBusHandlerResult
^~~~~~~~~~~~~~~~~
/poky/build/tmp/work/x86_64-linux/libsdl2-native/2.0.10-r0/SDL2-2.0.10/src/core/linux/SDL_fcitx.c:122:20:
error: unknown type name ‘DBusConnection’;
------------snip----------------------
(From OE-Core rev: eb286172e413e9d6449dc13ccec1b78c04481eb5)
Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r-- | meta/recipes-graphics/libsdl2/libsdl2_2.0.10.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.10.bb b/meta/recipes-graphics/libsdl2/libsdl2_2.0.10.bb index ac4a356043..413f53476a 100644 --- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.10.bb +++ b/meta/recipes-graphics/libsdl2/libsdl2_2.0.10.bb | |||
@@ -37,6 +37,7 @@ EXTRA_OECONF = "--disable-oss --disable-esd --disable-arts \ | |||
37 | --enable-sdl-dlopen \ | 37 | --enable-sdl-dlopen \ |
38 | --disable-rpath \ | 38 | --disable-rpath \ |
39 | --disable-sndio \ | 39 | --disable-sndio \ |
40 | --disable-fcitx --disable-ibus \ | ||
40 | " | 41 | " |
41 | 42 | ||
42 | # opengl packageconfig factored out to make it easy for distros | 43 | # opengl packageconfig factored out to make it easy for distros |