Index: media/media.gyp |
diff --git a/media/media.gyp b/media/media.gyp |
index 5b32db6b72646964b7f8e3fe8dbb23c207111701..7e36cff6f93a636c2c79996d6f1d7169629232a4 100644 |
--- a/media/media.gyp |
+++ b/media/media.gyp |
@@ -35,6 +35,11 @@ |
'use_alsa%': 0, |
'use_pulseaudio%': 0, |
}], |
+ ['sysroot!=""', { |
+ 'pkg-config': '../build/linux/pkg-config-wrapper "<(sysroot)" "<(target_arch)" "<(system_libdir)"', |
+ }, { |
+ 'pkg-config': 'pkg-config' |
+ }], |
# low memory buffer is used in non-Android based chromecast build due to hardware limitation. |
['chromecast==1 and OS!="android"', { |
'use_low_memory_buffer%': 1, |