[Buildroot] [PATCH 1/1] ti-gfx: pkg-config should also set parent include dir

Peter Korsgaard jacmet at uclibc.org
Fri May 30 21:41:54 UTC 2014


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

Hi,

 > I don't know if Ubuntu is a reference here, but when you install gles2
 >     sudo apt-get install libgles2-mesa-dev
 > and have a look at the.pc file,
 >     cat /usr/lib/x86_64-linux-gnu/pkgconfig/glesv2.pc
 > (or gl.pc) you see, that there also the path to the dir containing GLES2 is set:

 > prefix=/usr
 > exec_prefix=${prefix}
 > libdir=${prefix}/lib/x86_64-linux-gnu
 > includedir=${prefix}/include

 > Name: glesv2
 > Description: Mesa OpenGL ES 2.0 library
 > Requires.private:
 > Version: 9.0.3
 > Libs: -L${libdir} -lGLESv2
 > Libs.private: -lm -lpthread -ldl
 > Cflags: -I${includedir}

And what does pkg-config --cflags glesv2.pc show? pkg-config afaik
strips -I<standard-include-dir> away.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list