Index: third_party/libexif/libexif.gyp |
diff --git a/third_party/libexif/libexif.gyp b/third_party/libexif/libexif.gyp |
index 2ef3c2baa3f3614b0cb7eb5da80b63241c2aa84e..2d8b2428226894d6140f2aaa4e4d5a04b7e98ba5 100644 |
--- a/third_party/libexif/libexif.gyp |
+++ b/third_party/libexif/libexif.gyp |
@@ -114,6 +114,17 @@ |
}, |
], |
}, { # 'use_system_libexif!=0 |
+ 'conditions': [ |
+ ['sysroot!=""', { |
+ 'variables': { |
+ 'pkg-config': '../../build/linux/pkg-config-wrapper "<(sysroot)" "<(target_arch)" "<(system_libdir)"', |
+ }, |
+ }, { |
+ 'variables': { |
+ 'pkg-config': 'pkg-config' |
+ }, |
+ }], |
+ ], |
'targets': [ |
{ |
'target_name': 'libexif', |