]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
sunxi-mali: use only -I${includedir} as pkg-config Cflags
authorPeter Kümmel <syntheticpp@gmx.net>
Sun, 1 Jun 2014 10:18:28 +0000 (12:18 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 8 Jun 2014 16:52:14 +0000 (18:52 +0200)
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>
package/sunxi-mali/egl.pc
package/sunxi-mali/glesv2.pc

index b062ad1d35c59e89cdbe6bab4d92c11d1797df2b..2823209a72d0f89f5e8eb3247def5bcf560c807d 100644 (file)
@@ -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}
 
index 9273678093f038be0dad02aa7919bb5d186c6b18..4702d1394c44b79c3c167ca1d8f96a1f48f37f00 100644 (file)
@@ -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}