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>
This commit is contained in:
Thorsten Lorenz 2014-08-06 14:00:31 -04:00 committed by Fedor Indutny
parent 2a415358ee
commit b1741ea1fa

View File

@ -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"',
],