summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/gpu-viv-bin-mx6q
diff options
context:
space:
mode:
authorThomas Senyk <thomas.senyk@pelagicore.com>2013-06-21 15:00:41 +0000
committerOtavio Salvador <otavio@ossystems.com.br>2013-06-24 17:44:31 -0300
commit2b1684a1d587ee467f96974fd96908dfa06eb54a (patch)
treed8e560cc1e887098d727316dcc0a2f48d2858495 /recipes-graphics/gpu-viv-bin-mx6q
parent99a7c7af0dd16f45c3f4e32b92f0d587d38374ed (diff)
downloadmeta-fsl-arm-2b1684a1d587ee467f96974fd96908dfa06eb54a.tar.gz
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 <thomas.senyk@pelagicore.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-graphics/gpu-viv-bin-mx6q')
-rw-r--r--recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/glesv1_cm.pc2
-rw-r--r--recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/glesv2.pc2
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
7Description: Vivante OpenGL ES 1.1 CM library 7Description: Vivante OpenGL ES 1.1 CM library
8Requires.private: libdrm x11 xext xdamage xfixes xcb 8Requires.private: libdrm x11 xext xdamage xfixes xcb
9Version: 8.0 9Version: 8.0
10Libs: -L${libdir} -lGLESv1_CM 10Libs: -L${libdir} -lGLESv1_CM -lEGL -lGAL
11Libs.private: -lm -lpthread -ldl 11Libs.private: -lm -lpthread -ldl
12Cflags: -I${includedir} 12Cflags: -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
7Description: Vivante OpenGL ES 2.0 library 7Description: Vivante OpenGL ES 2.0 library
8Requires.private: 8Requires.private:
9Version: 8.0 9Version: 8.0
10Libs: -L${libdir} -lGLESv2 10Libs: -L${libdir} -lGLESv2 -lEGL -lGAL
11Libs.private: -lpthread -lrt 11Libs.private: -lpthread -lrt
12Cflags: -I${includedir} 12Cflags: -I${includedir}