]> code.ossystems Code Review - meta-freescale.git/commitdiff
gpu-viv-bin-mx6q: Add -lEGL and -lGAL to glesv2.pc and glesv1_cm.pc
authorThomas Senyk <thomas.senyk@pelagicore.com>
Fri, 21 Jun 2013 15:00:41 +0000 (15:00 +0000)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 24 Jun 2013 20:44:31 +0000 (17:44 -0300)
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 <thomas.senyk@pelagicore.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-arm/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/glesv1_cm.pc
meta-fsl-arm/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/glesv2.pc

index b69bcb2fff9c5dd74b8a5ea8de2a10111ea5cfd2..e801633b209429ac543a4e786715bf56edd7416a 100644 (file)
@@ -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}
index e92620b1c4a960e787dd6bbecfd16fa8219098d7..9be46f27eca3213b835711aa7fe8c05f8ba86b73 100644 (file)
@@ -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}