Index: build/linux/system.gyp |
diff --git a/build/linux/system.gyp b/build/linux/system.gyp |
index 92db5ff79dd1a9ca6b249f9fcc3ae356a7092e25..29cb33a37130472dcf5f1cdfe3cd0e1e05f47a11 100644 |
--- a/build/linux/system.gyp |
+++ b/build/linux/system.gyp |
@@ -7,7 +7,9 @@ |
'conditions': [ |
['sysroot!=""', { |
'pkg-config': '<(chroot_cmd) ./pkg-config-wrapper "<(sysroot)" "<(target_arch)"', |
- 'libgcrypt-config': '<(chroot_cmd) ./libgcrypt-config-wrapper "<(sysroot)"', |
+ # libgcrypt-config-wrapper invokes libgcrypt-config directly from the |
+ # sysroot, so there's no need to prefix it with <(chroot_cmd). |
+ 'libgcrypt-config': './libgcrypt-config-wrapper "<(sysroot)"', |
}, { |
'pkg-config': 'pkg-config', |
'libgcrypt-config': 'libgcrypt-config', |