summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--node.gyp3
1 files changed, 3 insertions, 0 deletions
diff --git a/node.gyp b/node.gyp
index 77ef85c784..9a5556c2ef 100644
--- a/node.gyp
+++ b/node.gyp
@@ -289,6 +289,9 @@
'-Wl,-bnoerrmsg',
],
}],
+ ['(OS=="linux" or OS=="mac") and llvm_version!=0', {
+ 'libraries': ['-latomic'],
+ }],
],
},