Index: build/linux/system.gyp |
diff --git a/build/linux/system.gyp b/build/linux/system.gyp |
index dddf86a4eb50270ca93b9ff43f73ce18f16eb8ce..a6732f177c5f47e06b1cd8d5da935a7b0741ac6c 100644 |
--- a/build/linux/system.gyp |
+++ b/build/linux/system.gyp |
@@ -6,7 +6,7 @@ |
'variables': { |
'conditions': [ |
['sysroot!=""', { |
- 'pkg-config': '<(chroot_cmd) ./pkg-config-wrapper "<(sysroot)" "<(target_arch)"', |
+ 'pkg-config': '<(chroot_cmd) ./pkg-config-wrapper "<(sysroot)" "<(target_arch)" "<(system_libdir)"', |
# 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)"', |