diff options
author | Gus Caplan <me@gus.host> | 2019-06-14 16:03:48 -0500 |
---|---|---|
committer | Gus Caplan <me@gus.host> | 2019-06-18 13:41:35 -0500 |
commit | 5fc6e130d0afbb65ed3ae40ac300f92c7e73c16d (patch) | |
tree | 0eac48ce2b83fdefd04829a095bd52892d24224e /node.gyp | |
parent | 2a9f1ad4b0c725e0362d33e265dc22271c3466e7 (diff) | |
download | node-new-5fc6e130d0afbb65ed3ae40ac300f92c7e73c16d.tar.gz |
build: link libatomic on mac and linuxfix-atomic-linkage
Fixes https://github.com/nodejs/node/issues/28231
Diffstat (limited to 'node.gyp')
-rw-r--r-- | node.gyp | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -289,6 +289,9 @@ '-Wl,-bnoerrmsg', ], }], + ['(OS=="linux" or OS=="mac") and llvm_version!=0', { + 'libraries': ['-latomic'], + }], ], }, |