Chromium Code Reviews| Index: build/linux/pkg-config-wrapper |
| diff --git a/build/linux/pkg-config-wrapper b/build/linux/pkg-config-wrapper |
| index 14ee01bb2dad052c13299241c23a5809cae1c88a..b7595645a11f434ce67a666e5fd58219f47b2b54 100755 |
| --- a/build/linux/pkg-config-wrapper |
| +++ b/build/linux/pkg-config-wrapper |
| @@ -19,18 +19,20 @@ root="$1" |
| shift |
| target_arch="$1" |
| shift |
| +libpath="$1" |
| +shift |
| if [ -z "$root" -o -z "$target_arch" ] |
| then |
| - echo "usage: $0 /path/to/sysroot target_arch [pkg-config-arguments] package" >&2 |
| + echo "usage: $0 /path/to/sysroot target_arch libdir [pkg-config-arguments] package" >&2 |
| exit 1 |
| fi |
| if [ "$target_arch" = "x64" ] |
| then |
| - libpath="lib64" |
| + : ${libpath:="lib64"} |
|
Alexander Potapenko
2014/06/03 08:52:23
|libpath| (which is |system_libdir| is always "lib
vapier
2014/06/03 14:15:09
if system_libdir is being set to lib on x64, then
|
| else |
| - libpath="lib" |
| + : ${libpath:="lib"} |
| fi |
| rewrite=`dirname $0`/rewrite_dirs.py |