Skip to content

Commit

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

PR-URL: #28232
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Sam Roberts <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
devsnek authored and targos committed Jul 2, 2019
1 parent 0044fd2 commit 4d12cef
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 4d12cef

Please sign in to comment.