Index: base/base.gyp |
diff --git a/base/base.gyp b/base/base.gyp |
index 4fd8954ac70ba03f76626ea629871a784449d460..44e0e72e8e9f9cae358ef5e08e47f8c5d3e8341e 100644 |
--- a/base/base.gyp |
+++ b/base/base.gyp |
@@ -139,6 +139,14 @@ |
}], |
], |
}], |
+ ['use_sysroot==0 and (OS == "android" or OS == "linux")', { |
+ 'link_settings': { |
+ 'libraries': [ |
+ # Needed for <atomic> when building with newer C++ library. |
+ '-latomic', |
+ ], |
+ }, |
+ }], |
['OS == "win"', { |
# Specify delayload for base.dll. |
'msvs_settings': { |