summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2018-09-29 14:13:30 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-10-01 13:04:49 +0100
commitf7198b473f2c9100262fe8129693d06b3358786c (patch)
treef061d73ec744fa7127b12178941d08ff13527c39
parentad2a0cd5b0e971debd6fe69d686fbe8f8c995a61 (diff)
downloadpoky-f7198b473f2c9100262fe8129693d06b3358786c.tar.gz
libsdl2: disable sndio explicitly to avoid inconsistent result
Explicitly disable sndio to avoid inconsistent result on different hosts having or not having libsndio. This must be done if we take into consideration of eSDK. I built eSDK on Ubuntu 14.04 which has libsndio installed, and then installed the eSDK on Fedora 27, which does not have libsndio. In fact, on Fedora 27, I even cannot find libsndio in its repo. The problem happens when trying to use `devtool runqemu'. The qemu binary built on Ubuntu 14.04 needs to link to libsndio, and thus the following error. runqemu - ERROR - Failed to run qemu: /path/to/qemu-system-x86_64: error while loading shared libraries: libsndio.so.6.1: cannot open shared object file: No such file or directory So explicitly disable sndio for libsdl2 to avoid the above problem. (From OE-Core rev: 72c37b06b034e97e7dd7e1a20fb0ff5f96088440) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-graphics/libsdl2/libsdl2_2.0.8.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.8.bb b/meta/recipes-graphics/libsdl2/libsdl2_2.0.8.bb
index 52bb93a17a..812a9abf3c 100644
--- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.8.bb
+++ b/meta/recipes-graphics/libsdl2/libsdl2_2.0.8.bb
@@ -30,6 +30,7 @@ EXTRA_OECONF = "--disable-oss --disable-esd --disable-arts \
30 --enable-pthreads \ 30 --enable-pthreads \
31 --enable-sdl-dlopen \ 31 --enable-sdl-dlopen \
32 --disable-rpath \ 32 --disable-rpath \
33 --disable-sndio \
33 " 34 "
34 35
35# opengl packageconfig factored out to make it easy for distros 36# opengl packageconfig factored out to make it easy for distros