Skip to content

Commit 4d12cef

Browse files
devsnektargos
authored andcommittedJul 2, 2019
build: link libatomic on mac and linux
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]>
1 parent 0044fd2 commit 4d12cef

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎node.gyp

+3
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,9 @@
289289
'-Wl,-bnoerrmsg',
290290
],
291291
}],
292+
['(OS=="linux" or OS=="mac") and llvm_version!=0', {
293+
'libraries': ['-latomic'],
294+
}],
292295
],
293296
},
294297

0 commit comments

Comments
 (0)
Please sign in to comment.