summaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'node.gyp')
-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'],
+ }],
],
},