Index: net/third_party/nss/ssl.gyp |
diff --git a/net/third_party/nss/ssl.gyp b/net/third_party/nss/ssl.gyp |
index c09f306208e58291b06efa587a29f78bb59db106..1d2bab8c8ebf90187fb255e3c2f3b9fdb41d3859 100644 |
--- a/net/third_party/nss/ssl.gyp |
+++ b/net/third_party/nss/ssl.gyp |
@@ -3,6 +3,22 @@ |
# found in the LICENSE file. |
{ |
+ 'conditions': [ |
+ [ 'os_posix == 1 and OS != "mac" and OS != "ios"', { |
+ 'conditions': [ |
+ ['sysroot!=""', { |
+ 'variables': { |
+ 'pkg-config': '../../../build/linux/pkg-config-wrapper "<(sysroot)" "<(target_arch)" "<(system_libdir)"', |
+ }, |
+ }, { |
+ 'variables': { |
+ 'pkg-config': 'pkg-config' |
+ }, |
+ }], |
+ ], |
+ }], |
+ ], |
+ |
'targets': [ |
{ |
'target_name': 'libssl', |