[OE-core] [PATCH] libepoxy: RDEPEND on libgl

Jussi Kukkonen jussi.kukkonen at intel.com
Fri Oct 2 12:41:58 UTC 2015


Automatic dependency tracking does not notice this (understandable
with the dlopen trickery epoxy does).

[YOCTO #8371]

Signed-off-by: Jussi Kukkonen <jussi.kukkonen at intel.com>
---


I'm not super familiar with the opengl handling so please let me know if there's some
better way to do this: The problem being fixed is e.g. gtk3-demo failing to start
because it fails to dlopen libGL.so.1.


 meta/recipes-graphics/libepoxy/libepoxy_git.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-graphics/libepoxy/libepoxy_git.bb b/meta/recipes-graphics/libepoxy/libepoxy_git.bb
index ad17293..fe05d4e 100644
--- a/meta/recipes-graphics/libepoxy/libepoxy_git.bb
+++ b/meta/recipes-graphics/libepoxy/libepoxy_git.bb
@@ -20,6 +20,7 @@ S = "${WORKDIR}/git"
 inherit autotools pkgconfig
 
 DEPENDS = "util-macros virtual/egl"
+RDEPENDS_${PN} = "libgl"
 
 PACKAGECONFIG[x11] = "--enable-glx, --disable-glx, virtual/libx11"
 PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
-- 
2.1.4




More information about the Openembedded-core mailing list