OLD | NEW |
---|---|
(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 | |
OLD | NEW |