diff --git a/node.gyp b/node.gyp index 77ef85c784df04..9a5556c2eff40d 100644 --- a/node.gyp +++ b/node.gyp @@ -289,6 +289,9 @@ '-Wl,-bnoerrmsg', ], }], + ['(OS=="linux" or OS=="mac") and llvm_version!=0', { + 'libraries': ['-latomic'], + }], ], },