summaryrefslogtreecommitdiffstats
path: root/build/linux/pkg-config-wrapper
Commit message (Collapse)AuthorAgeFilesLines
* linux (sysroot): force prefix=/usr in pkg-configpiman@chromium.org2010-03-051-1/+1
| | | | | | | | | | This lets us use portage-based cross-compiled sysroots, that force the prefix to be an absolute path within the portage chroot. In particular that lets us build the ARM sysroot using the Chrome OS build system. Ubuntu-based sysroots already have prefix=/usr, so this is a no-op in that case. Review URL: http://codereview.chromium.org/669139 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40712 0039d316-1c4b-4281-b951-d872f2087c98
* linux: improve support for cross-compilingpiman@chromium.org2009-09-041-0/+14
This CL adds support for a 'sysroot' GYP define, that should point to the target root filesystem for cross-compilation. It passes that argument to the compiler and linker which uses it to prefix its hard-coded path (e.g. /usr/include) It also points pkg-config to look for package configs there, and rewrite the paths to be prefixed by 'sysroot' (since pkg-config doesn't do it itself) Review URL: http://codereview.chromium.org/199016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25418 0039d316-1c4b-4281-b951-d872f2087c98