diff options
-rw-r--r-- | node.gyp | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -178,6 +178,10 @@ }], [ 'OS=="mac"', { 'libraries': [ '-framework Carbon' ], + 'defines': [ + # we need to use node's preferred "darwin" rather than gyp's preferred "mac" + 'PLATFORM="darwin"', + ], }], [ 'OS=="linux"', { 'libraries': [ |