| Index: build/config/linux/pkg-config.py
|
| diff --git a/build/config/linux/pkg-config.py b/build/config/linux/pkg-config.py
|
| index b107e74f2773987b0b12b658e41c9fc1e0fc7868..60304d47f841cefb230b967257e9956a7da63d72 100644
|
| --- a/build/config/linux/pkg-config.py
|
| +++ b/build/config/linux/pkg-config.py
|
| @@ -101,6 +101,8 @@ def RewritePath(path, strip_prefix, sysroot):
|
|
|
|
|
| parser = OptionParser()
|
| +parser.add_option('-p', action='store', dest='pkg_config', type='string',
|
| + default='pkg-config')
|
| parser.add_option('-v', action='append', dest='strip_out', type='string')
|
| parser.add_option('-s', action='store', dest='sysroot', type='string')
|
| parser.add_option('-a', action='store', dest='arch', type='string')
|
| @@ -120,7 +122,7 @@ else:
|
|
|
| try:
|
| flag_string = subprocess.check_output(
|
| - [ "pkg-config", "--cflags", "--libs-only-l", "--libs-only-L" ] +
|
| + [ options.pkg_config, "--cflags", "--libs-only-l", "--libs-only-L" ] +
|
| args, env=os.environ)
|
| # For now just split on spaces to get the args out. This will break if
|
| # pkgconfig returns quoted things with spaces in them, but that doesn't seem
|
|
|