[yocto] [meta-raspberrypi][PATCH 3/5] eglinfo-x11: Disable --as-needed

Khem Raj raj.khem at gmail.com
Sat Mar 26 09:59:35 PDT 2016


--as-needed exposes a dependency problem where libegl needs some symbols
from libgles2 but the order that waf uses on linker cmdline for these
libs is reversed so we end up with link time failures e.g.

libEGL.so: undefined reference to `glxx_client_GetRenderbufferParameteriv'

Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 recipes-graphics/eglinfo/eglinfo-x11_%.bbappend | 1 +
 1 file changed, 1 insertion(+)

diff --git a/recipes-graphics/eglinfo/eglinfo-x11_%.bbappend b/recipes-graphics/eglinfo/eglinfo-x11_%.bbappend
index 7f8b600..fd32abc 100644
--- a/recipes-graphics/eglinfo/eglinfo-x11_%.bbappend
+++ b/recipes-graphics/eglinfo/eglinfo-x11_%.bbappend
@@ -1 +1,2 @@
 EGLINFO_DEVICE_rpi  = "raspberrypi"
+ASNEEDED = ""
-- 
1.9.1




More information about the yocto mailing list