diff --git a/node.gyp b/node.gyp index 091fe0470c4802..aebef9c11fbc40 100644 --- a/node.gyp +++ b/node.gyp @@ -282,6 +282,14 @@ 'ImageHasSafeExceptionHandlers': 'false', }, }, + + 'conditions': [ + ['OS=="aix"', { + 'ldflags': [ + '-Wl,-bnoerrmsg', + ], + }], + ], }, 'targets': [