Patchwork [meta-fsl-arm,03/11] gpu-viv-bin-mx6q.inc: Fix soname of libEGL library

login
register
mail settings
Submitter Otavio Salvador
Date Aug. 24, 2013, 5:44 p.m.
Message ID <1377366264-31014-4-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/56533/
State Accepted
Delegated to: Otavio Salvador
Headers show

Comments

Otavio Salvador - Aug. 24, 2013, 5:44 p.m.
The soname of libEGL should be 1.0 so we fix it at install time. The
fix has been contributed by Evan Kotara <evan.kotara@freescale.com>.

Change-Id: I99dad005f4a01b6e902e0e605d16630ebebd554d
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Patch

diff --git a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
index 42cd964..f60cfb5 100644
--- a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
+++ b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
@@ -133,8 +133,9 @@  do_install () {
     mv ${D}${libdir}/libGL.so.1.2 ${D}${libdir}/libGL.so.1.2.0
     ln -sf libGL.so.1.2.0 ${D}${libdir}/libGL.so.1.2
     ln -sf libGL.so.1.2.0 ${D}${libdir}/libGL.so
-    mv ${D}${libdir}/libEGL-${backend}.so ${D}${libdir}/libEGL.so.1
-    ln -sf libEGL.so.1 ${D}${libdir}/libEGL.so
+    mv ${D}${libdir}/libEGL-${backend}.so ${D}${libdir}/libEGL.so.1.0
+    ln -sf libEGL.so.1.0 ${D}${libdir}/libEGL.so.1
+    ln -sf libEGL.so.1.0 ${D}${libdir}/libEGL.so
     mv ${D}${libdir}/libGAL-${backend}.so ${D}${libdir}/libGAL.so
     mv ${D}${libdir}/libVIVANTE-${backend}.so ${D}${libdir}/libVIVANTE.so