nixpkgs/pkgs/development/web/nodejs/disable-libatomic-darwin.patch

12 lines
272 B
Diff

--- a/node.gyp
+++ b/node.gyp
@@ -289,7 +289,7 @@
'-Wl,-bnoerrmsg',
],
}],
- ['OS in ("linux", "mac") and llvm_version != "0.0"', {
+ ['OS == "linux" and llvm_version != "0.0"', {
'libraries': ['-latomic'],
}],
],