From 2b1684a1d587ee467f96974fd96908dfa06eb54a Mon Sep 17 00:00:00 2001 From: Thomas Senyk Date: Fri, 21 Jun 2013 15:00:41 +0000 Subject: gpu-viv-bin-mx6q: Add -lEGL and -lGAL to glesv2.pc and glesv1_cm.pc libGLESv2 has undefined symbols, which get provided by libEGL and libGAL, but libGLESv2 has no implicit 'link' to those libs. So if you link against libGLESv2 but not against libEGL and libGAL, you'll get 'undefined symbol'-errors. Change-Id: I2c35ba4b592a89106b82e16bbfdfb2c5fc6553c6 Signed-off-by: Thomas Senyk Signed-off-by: Otavio Salvador --- recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/glesv1_cm.pc | 2 +- recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/glesv2.pc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/glesv1_cm.pc b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/glesv1_cm.pc index b69bcb2..e801633 100644 --- a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/glesv1_cm.pc +++ b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/glesv1_cm.pc @@ -7,6 +7,6 @@ Name: glesv1_cm Description: Vivante OpenGL ES 1.1 CM library Requires.private: libdrm x11 xext xdamage xfixes xcb Version: 8.0 -Libs: -L${libdir} -lGLESv1_CM +Libs: -L${libdir} -lGLESv1_CM -lEGL -lGAL Libs.private: -lm -lpthread -ldl Cflags: -I${includedir} diff --git a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/glesv2.pc b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/glesv2.pc index e92620b..9be46f2 100644 --- a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/glesv2.pc +++ b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/glesv2.pc @@ -7,6 +7,6 @@ Name: glesv2 Description: Vivante OpenGL ES 2.0 library Requires.private: Version: 8.0 -Libs: -L${libdir} -lGLESv2 +Libs: -L${libdir} -lGLESv2 -lEGL -lGAL Libs.private: -lpthread -lrt Cflags: -I${includedir} -- cgit v1.2.3-54-g00ecf