Index: chrome/chrome_browser_chromeos.gypi |
diff --git a/chrome/chrome_browser_chromeos.gypi b/chrome/chrome_browser_chromeos.gypi |
index 01a3c43dfbf8192a3c10c70a2dc354a6e0ef32bb..4a56bac2ac8eed3ecf70d54c1331413372f050a7 100644 |
--- a/chrome/chrome_browser_chromeos.gypi |
+++ b/chrome/chrome_browser_chromeos.gypi |
@@ -1104,6 +1104,13 @@ |
'target_name': 'browser_chromeos', |
'type': 'static_library', |
'variables': { |
+ 'conditions': [ |
+ ['sysroot!=""', { |
+ 'pkg-config': '../build/linux/pkg-config-wrapper "<(sysroot)" "<(target_arch)" "<(system_libdir)"', |
+ }, { |
+ 'pkg-config': 'pkg-config' |
+ }], |
+ ], |
# Override to dynamically link the cras (ChromeOS audio) library. |
'use_cras%': 0, |
'enable_wexit_time_destructors': 1, |