Index: build/linux/system.gyp |
diff --git a/build/linux/system.gyp b/build/linux/system.gyp |
index 7911ae9b4d763fd5f7b5cf71369c586c5fc823fc..92db5ff79dd1a9ca6b249f9fcc3ae356a7092e25 100644 |
--- a/build/linux/system.gyp |
+++ b/build/linux/system.gyp |
@@ -7,8 +7,10 @@ |
'conditions': [ |
['sysroot!=""', { |
'pkg-config': '<(chroot_cmd) ./pkg-config-wrapper "<(sysroot)" "<(target_arch)"', |
+ 'libgcrypt-config': '<(chroot_cmd) ./libgcrypt-config-wrapper "<(sysroot)"', |
}, { |
- 'pkg-config': 'pkg-config' |
+ 'pkg-config': 'pkg-config', |
+ 'libgcrypt-config': 'libgcrypt-config', |
}], |
], |
@@ -736,12 +738,12 @@ |
['_toolset=="target" and use_cups==1', { |
'direct_dependent_settings': { |
'cflags': [ |
- '<!@(libgcrypt-config --cflags)', |
+ '<!@(<(libgcrypt-config) --cflags)', |
], |
}, |
'link_settings': { |
'libraries': [ |
- '<!@(libgcrypt-config --libs)', |
+ '<!@(<(libgcrypt-config) --libs)', |
], |
}, |
}], |