Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(143)

Side by Side Diff: build/linux/pkg-config-wrapper

Issue 199016: linux: improve support for cross-compiling (Closed)
Patch Set: Address review comments Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build/common.gypi ('k') | build/linux/rewrite_dirs.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/sh
2
3 root="$1"
4 if [ -z "$root" ]
5 then
6 echo "usage: $0 /path/to/sysroot [pkg-config-arguments]" >&2
7 exit 1
8 fi
9
10 rewrite=`dirname $0`/rewrite_dirs.py
11
12 shift
13 config_path=$root/usr/lib/pkgconfig:$root/usr/share/pkgconfig
14 PKG_CONFIG_PATH=$config_path pkg-config "$@" | $rewrite $root
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | build/linux/rewrite_dirs.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698