summaryrefslogtreecommitdiffstats
path: root/package/pkg-config/pkg-config-0.25-fix-variable.patch
Commit message (Collapse)AuthorAgeFilesLines
* pkg-config: only prepend sysroot to includedir / libdirPeter Korsgaard2011-03-101-8/+10
| | | | | | | | | | | | | | | | | | 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>
* pkg-config: prefix sysroot to path variablesPeter Korsgaard2011-01-291-0/+27
Fixes gst-plugins-bad build, if gstreamer is installed on host with xml support, as it uses pkg-config --variable=includedir to find gstconfig.h, and hence ends up looking at the host version. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>