[meta-freescale] [meta-fsl-arm][PATCH] Adding -lEGL and -lGAL to glesv2.pc
Thomas Senyk
thomas.senyk at pelagicore.com
Thu Jun 20 07:31:04 PDT 2013
From: Thomas Senyk <thomas.senyk at pelagicore.com>
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.
Signed-off-by: Thomas Senyk <thomas.senyk at pelagicore.com>
---
recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/glesv2.pc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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}
--
1.8.3.1
More information about the meta-freescale
mailing list