diff --git a/node.gyp b/node.gyp index ad572f89..82ba8bbe 100644 --- a/node.gyp +++ b/node.gyp @@ -1308,6 +1308,9 @@ 'Ws2_32.lib', ], }], + ['(target_arch=="ppc64" or target_arch=="arm" or target_arch=="arm64")', { + 'ldflags': [ '-Wl,--no-keep-memory' ], + }], ], }, # node_mksnapshot ], # end targets