Tiny guide to adding things to buildroot:
https://www.mobileread.com/forums/sho...5&postcount=19
A similar earlier guide:
https://www.mobileread.com/forums/sho...&postcount=106
helpful thoughts on cross pkg-config - and maybe the future
http://www.freedesktop.org/wiki/Soft...ompileProposal
Quote:
The pkg-config tool works with a collection of .pc files that describe available packages for linking. These files are located using the following rules:
searching directories listed in $PKG_CONFIG_PATH
when $PKG_CONFIG_LIBDIR is specified, it will override the compiled in default directory (e.g. /usr/lib/pkgconfig) and the PKG_CONFIG_PATH.
Note that when specifying PKG_CONFIG_LIBDIR, pkg-config will completely ignore the content in PKG_CONFIG_PATH, even if the documentation states different things.
In a cross compile situation, some .pc files on the system will be for the build machine and some will be for the target machine. In order to make sure that the build machine's .pc files are not found, both the $PKG_CONFIG_PATH and $PKG_CONFIG_PATH environment variables must be set to directories containing only target machine `.pc files.
|