summaryrefslogtreecommitdiffstats
path: root/package/ti-gfx
diff options
context:
space:
mode:
authorPeter Kümmel <syntheticpp@gmx.net>2014-06-01 12:18:27 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-06-08 18:52:11 +0200
commit05a734153908ee40d5c7a475b10c40e3f1796dd1 (patch)
tree2ad4f1449a442052d7f7b3a8a8af0a783041f11f /package/ti-gfx
parent9c1d3b6325eaf4e4d41a0af9fef69202258185a9 (diff)
downloadbuildroot-05a734153908ee40d5c7a475b10c40e3f1796dd1.tar.gz
buildroot-05a734153908ee40d5c7a475b10c40e3f1796dd1.zip
ti-gfx: use only -I${includedir} as pkg-config Cflags
Using only -I${includedir} in common practice. Settings only -I${includedir}/GLES2 breaks Qt5's CMake files, because at configure time CMake only searchs the paths reported by pkg-config, and not even /usr/include is used as default. Even though pkg-config strips out standard include path, that's not the case with pkgconf (which we are using) in cross-compilation, which correctly reports the /usr/include dir prefixed with the sysroot. Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Kümmel <syntheticpp@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/ti-gfx')
-rw-r--r--package/ti-gfx/egl.pc2
-rw-r--r--package/ti-gfx/glesv2.pc2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/ti-gfx/egl.pc b/package/ti-gfx/egl.pc
index 223fb04b98..36ea41317b 100644
--- a/package/ti-gfx/egl.pc
+++ b/package/ti-gfx/egl.pc
@@ -8,4 +8,4 @@ Description: TI Graphics SDK implementation of EGL
Version: 1.9.2188537
Requires:
Libs: -L${libdir} -lEGL -lGLESv2 -lIMGegl
-Cflags: -I${includedir}/EGL/ -I${includedir}
+Cflags: -I${includedir}
diff --git a/package/ti-gfx/glesv2.pc b/package/ti-gfx/glesv2.pc
index 4c70aec9a5..b458133251 100644
--- a/package/ti-gfx/glesv2.pc
+++ b/package/ti-gfx/glesv2.pc
@@ -8,4 +8,4 @@ Description: TI Graphics SDK implementation of OpenGL ESv2
Version: 1.9.2188537
Requires:
Libs: -L${libdir} -lGLESv2 -lGLES_CM -lsrv_um -lusc -lEGL -lIMGegl
-Cflags: -I${includedir}/GLES2
+Cflags: -I${includedir}
OpenPOWER on IntegriCloud