summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen2/recipes-graphics/gles-module/gles-user-module.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-rcar-gen2/recipes-graphics/gles-module/gles-user-module.bb')
-rw-r--r--meta-rcar-gen2/recipes-graphics/gles-module/gles-user-module.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-rcar-gen2/recipes-graphics/gles-module/gles-user-module.bb b/meta-rcar-gen2/recipes-graphics/gles-module/gles-user-module.bb
index b67b26a..1845c98 100644
--- a/meta-rcar-gen2/recipes-graphics/gles-module/gles-user-module.bb
+++ b/meta-rcar-gen2/recipes-graphics/gles-module/gles-user-module.bb
@@ -6,7 +6,7 @@ LICENSE = "CLOSED"
PN = "gles-user-module"
PR = "r0"
-RDEPENDS_${PN} = "gles-kernel-module"
+RDEPENDS_${PN} = "gles-kernel-module libgbm"
COMPATIBLE_MACHINE = "(r8a7790|r8a7791|r8a7793|r8a7794)"
PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -54,6 +54,9 @@ do_install() {
cp -r ${S}/etc ${D}
cp -r ${S}/usr ${D}
+ # Create a symbolic link for compatibility with various software
+ ln -s ${D}/usr/lib/libGLESv2.so ${D}/usr/lib/libGLESv2.so.2
+
if [ "${USE_WAYLAND}" = "1" ]; then
# Rename libEGL.so
mv ${D}/usr/lib/libEGL.so ${D}/usr/lib/libEGL-pvr.so