diff options
Diffstat (limited to 'build/linux/system.gyp')
-rw-r--r-- | build/linux/system.gyp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/build/linux/system.gyp b/build/linux/system.gyp index a1d6bf0..476476e 100644 --- a/build/linux/system.gyp +++ b/build/linux/system.gyp @@ -4,6 +4,14 @@ { 'variables': { + 'conditions': [ + ['sysroot!=""', { + 'pkg-config': '<(chroot_cmd) ./pkg-config-wrapper "<(sysroot)" "<(target_arch)" "<(system_libdir)"', + }, { + 'pkg-config': 'pkg-config', + }], + ], + # If any of the linux_link_FOO below are set to 1, then the corresponding # target will be linked against the FOO library (either dynamically or # statically, depending on the pkg-config files), as opposed to loading the |