diff options
author | Thorsten Lorenz <thlorenz@gmx.de> | 2014-08-06 14:00:31 -0400 |
---|---|---|
committer | Fedor Indutny <fedor@indutny.com> | 2014-08-08 18:03:04 +0400 |
commit | b1741ea1fadf2dfd6eb2ad26dee828b795b440c9 (patch) | |
tree | 1414ca90c29fc15f66ebfb66870992b7ddf66a2b /node.gyp | |
parent | 2a415358ee8585e9480c425678234fa8d05fc620 (diff) | |
download | nodejs-b1741ea1fadf2dfd6eb2ad26dee828b795b440c9.tar.gz nodejs-b1741ea1fadf2dfd6eb2ad26dee828b795b440c9.tar.bz2 nodejs-b1741ea1fadf2dfd6eb2ad26dee828b795b440c9.zip |
build: linking CoreFoundation framework for OSX
Linking CoreFoundation for OSX is needed for OSX debugging features to
function properly.
For instance Instruments cannot record Heap Allocations if the
CoreFoundation is not linked.
Reviewed-By: Fedor Indutny <fedor@indutny.com>
Diffstat (limited to 'node.gyp')
-rw-r--r-- | node.gyp | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -319,6 +319,9 @@ 'defines': [ '__POSIX__' ], }], [ 'OS=="mac"', { + # linking Corefoundation is needed since certain OSX debugging tools + # like Instruments require it for some features + 'libraries': [ '-framework CoreFoundation' ], 'defines!': [ 'PLATFORM="mac"', ], |