diff options
author | Jussi Kukkonen <jussi.kukkonen@intel.com> | 2015-10-21 16:25:31 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-24 12:17:40 +0100 |
commit | f9540f50ea661e260ec2b82436238cfb989e23c5 (patch) | |
tree | 91f54154905645e93fc74c68a614d9f8310134ef /meta/lib | |
parent | a40e69508e66268e0743502334797374dee31125 (diff) | |
download | openembedded-core-f9540f50ea661e260ec2b82436238cfb989e23c5.tar.gz openembedded-core-f9540f50ea661e260ec2b82436238cfb989e23c5.tar.bz2 openembedded-core-f9540f50ea661e260ec2b82436238cfb989e23c5.zip |
gtk+3: Do not try to initialize GL without libgl
Gdk initialization ends up calling epoxy GLX api, which calls exit()
if libGL.so.1 is not present. In practice this prevents all GTK+
applications from starting if GLX is not present.
If opengl and x11 distro features are set, make gtk+3 RDEPEND on libgl.
If opengl and x11 distro features are not set, use #ifdef to prevent
the GL initialization.
Remove libgl dependency from gtk3-demo: it can now run without
libgl (although trying to run the glarea demo will exit in that case).
[YOCTO #8529]
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/lib')
0 files changed, 0 insertions, 0 deletions