Skip to content
/ node Public
forked from nodejs/node

Commit

Permalink
build: link libatomic on mac and linux
Browse files Browse the repository at this point in the history
Fixes nodejs#28231

PR-URL: nodejs#28232
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
devsnek committed Jun 21, 2019
1 parent e6edd66 commit ab3174c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions node.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,9 @@
'-Wl,-bnoerrmsg',
],
}],
['(OS=="linux" or OS=="mac") and llvm_version!=0', {
'libraries': ['-latomic'],
}],
],
},

Expand Down

0 comments on commit ab3174c

Please sign in to comment.