[Buildroot] [PATCH 1/1] ti-gfx: pkg-config should also set parent include dir
Yann E. MORIN
yann.morin.1998 at free.fr
Fri May 30 20:57:41 UTC 2014
Peter, All,
On 2014-05-30 22:41 +0200, Peter Kümmel spake thusly:
> In short: anybody assumes "#include <GLES2/gl2.h>" works when the search
> paths of pkg-config are used. But when pkg-config reports /usr/include/GLES2
> gl2.h could not be found, because there is no /usr/include/GLES2/GLES2/gl2.h.
>
> Until now this doesn't pop up because by chance the directory GLES2
> resides in /usr/include and this path is added by most by build systems.
> But the cmake configure scripts of Qt5 test for "GLES2/gl2.h" only in the path
> reported by pkg-config.
And what if we do not specify any Cflags in the .pc? Is Qt5's configure
script happy with that?
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
More information about the buildroot
mailing list