| Index: build/config/linux/pkg-config.py
|
| diff --git a/build/config/linux/pkg-config.py b/build/config/linux/pkg-config.py
|
| index d89fc7bf391bbd2fb926d78936e0e14e6d9a8fe5..b107e74f2773987b0b12b658e41c9fc1e0fc7868 100644
|
| --- a/build/config/linux/pkg-config.py
|
| +++ b/build/config/linux/pkg-config.py
|
| @@ -119,7 +119,8 @@ else:
|
| prefix = ''
|
|
|
| try:
|
| - flag_string = subprocess.check_output(["pkg-config", "--cflags", "--libs"] +
|
| + flag_string = subprocess.check_output(
|
| + [ "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
|
|
|