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 <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 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.