[prev in list] [next in list] [prev in thread] [next in thread] 

List:       buildroot
Subject:    Re: [Buildroot] [PATCH 1/1] ti-gfx: pkg-config should also set parent include dir
From:       Peter Korsgaard <jacmet () uclibc ! org>
Date:       2014-05-30 20:52:23
Message-ID: 8761kn7zw8.fsf () dell ! be ! 48ers ! dk
[Download RAW message or body]

>>>>> "Peter" == Peter Kümmel <syntheticpp@gmx.net> writes:

Hi,

 >> Agreed, and therefore I'd like to understand in more details why the
 >> patch is needed. We typically don't commit things we don't understand
 >> why they are needed :)

 > 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.

But $SYSROOT/usr/include is the standard include path, so gcc
automatically looks there. What exactly doesn't work for you?

This is exactly the same as E.G. #include <sys/stat.h> for open(2).

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic