diff options
author | Peter Kümmel <syntheticpp@gmx.net> | 2014-06-01 12:18:28 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-06-08 18:52:14 +0200 |
commit | 1ff9045f4b62b53f55457f00a80d63e77acd758c (patch) | |
tree | c5621f9035115896dc5459346e8b6a2691cdd63d /package/sunxi-mali | |
parent | 05a734153908ee40d5c7a475b10c40e3f1796dd1 (diff) | |
download | buildroot-1ff9045f4b62b53f55457f00a80d63e77acd758c.tar.gz buildroot-1ff9045f4b62b53f55457f00a80d63e77acd758c.zip |
sunxi-mali: 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/sunxi-mali')
-rw-r--r-- | package/sunxi-mali/egl.pc | 2 | ||||
-rw-r--r-- | package/sunxi-mali/glesv2.pc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/package/sunxi-mali/egl.pc b/package/sunxi-mali/egl.pc index b062ad1d35..2823209a72 100644 --- a/package/sunxi-mali/egl.pc +++ b/package/sunxi-mali/egl.pc @@ -8,5 +8,5 @@ Description: ARM Mali implementation of EGL Version: 1.4 Requires: Libs: -L${libdir} -lEGL -lGLESv2 -lUMP -Cflags: -I${includedir}/EGL/ -I${includedir} +Cflags: -I${includedir} diff --git a/package/sunxi-mali/glesv2.pc b/package/sunxi-mali/glesv2.pc index 9273678093..4702d1394c 100644 --- a/package/sunxi-mali/glesv2.pc +++ b/package/sunxi-mali/glesv2.pc @@ -8,5 +8,5 @@ Description: ARM Mali implementation of OpenGL ESv2 Version: 2.0 Requires: Libs: -L${libdir} -lGLESv2 -lGLESv1_CM -lUMP -Cflags: -I${includedir}/GLES2 +Cflags: -I${includedir} |