summaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
authorThorsten Lorenz <thlorenz@gmx.de>2014-08-06 14:00:31 -0400
committerFedor Indutny <fedor@indutny.com>2014-08-08 18:03:04 +0400
commitb1741ea1fadf2dfd6eb2ad26dee828b795b440c9 (patch)
tree1414ca90c29fc15f66ebfb66870992b7ddf66a2b /node.gyp
parent2a415358ee8585e9480c425678234fa8d05fc620 (diff)
downloadnodejs-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.gyp3
1 files changed, 3 insertions, 0 deletions
diff --git a/node.gyp b/node.gyp
index c6aebf473..c3b766059 100644
--- a/node.gyp
+++ b/node.gyp
@@ -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"',
],