diff --git a/node.gyp b/node.gyp index 56377d6a0c5e8e..7913599e4ed572 100644 --- a/node.gyp +++ b/node.gyp @@ -289,6 +289,9 @@ '-Wl,-bnoerrmsg', ], }], + ['OS=="linux" or OS=="mac"', { + 'libraries': ['-latomic'], + }], ], },