aboutsummaryrefslogtreecommitdiffstats
path: root/main/nodejs/link-with-libatomic-on-mips32.patch
blob: c4988a0d9ff9cb58a6e2c7d6e5ac3aaeafad69bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/node.gyp
+++ b/node.gyp
@@ -478,6 +478,11 @@
       'msvs_disabled_warnings!': [4244],
 
       'conditions': [
+        [ 'host_arch=="mips" or host_arch=="mipsel"', {
+          'link_settings': {
+            'libraries': [ '-latomic' ],
+          },
+        }],
         [ 'node_code_cache_path!=""', {
           'sources': [ '<(node_code_cache_path)' ]
         }, {