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
  • Loading branch information
devsnek committed Jun 18, 2019
1 parent 2a9f1ad commit 5fc6e13
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 5fc6e13

Please sign in to comment.