Skip to content

Commit 4d12cef

Browse files
devsnektargos
authored andcommitted
build: link libatomic on mac and linux
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>
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)