diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2011-03-10 11:36:18 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2011-03-10 11:36:18 +0100 |
commit | 117a8ea0eaabec72d7637f80f7a55fbba9ce67bf (patch) | |
tree | e209622fcc93f33f50a87e897364e2fc9d1e0c2b /docs/copyright.txt | |
parent | 15ca4eabc16a302f38ba53ce97986668e243b835 (diff) | |
download | buildroot-novena-117a8ea0eaabec72d7637f80f7a55fbba9ce67bf.tar.gz buildroot-novena-117a8ea0eaabec72d7637f80f7a55fbba9ce67bf.zip |
pkg-config: only prepend sysroot to includedir / libdir
Only append sysroot to includedir / libdir, and not to other variables,
when a variable is requested (--variable=<name>), similar to how it
is done for the -I / -L flags in cflags/ldflags.
The problem is that pkg-config doesn't have any explicit cross compilation
support, so there's some confusion about what are host paths and what are
target ones. Includedir / libdir are paths for the (cross) compiler, so
those should normally have sysroot prepended, but other variables might
refer to target paths instead.
This fixes the installation of the xfonts-* packages, which uses
pkg-config --variable=fontrootdir fontutil to figure out the target
installation location for fonts.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'docs/copyright.txt')
0 files changed, 0 insertions, 0 deletions