diff options
author | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-05 03:39:44 +0000 |
---|---|---|
committer | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-05 03:39:44 +0000 |
commit | c620060371fe1832017570351139046ff8205fb4 (patch) | |
tree | 39042b6f8402b8b7aac4d8bb6a2a8f565fd137ca /build | |
parent | 4ecbeba6ed36af7e74efd5ac52acd516d521abe0 (diff) | |
download | chromium_src-c620060371fe1832017570351139046ff8205fb4.zip chromium_src-c620060371fe1832017570351139046ff8205fb4.tar.gz chromium_src-c620060371fe1832017570351139046ff8205fb4.tar.bz2 |
linux (sysroot): force prefix=/usr in pkg-config
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
Diffstat (limited to 'build')
-rwxr-xr-x | build/linux/pkg-config-wrapper | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/linux/pkg-config-wrapper b/build/linux/pkg-config-wrapper index abd34ef..fa76c2e 100755 --- a/build/linux/pkg-config-wrapper +++ b/build/linux/pkg-config-wrapper @@ -11,4 +11,4 @@ rewrite=`dirname $0`/rewrite_dirs.py shift config_path=$root/usr/lib/pkgconfig:$root/usr/share/pkgconfig -PKG_CONFIG_PATH=$config_path pkg-config "$@" | $rewrite $root +PKG_CONFIG_PATH=$config_path pkg-config --define-variable=prefix=/usr "$@" | $rewrite $root |