diff options
author | Fedor Indutny <fedor@indutny.com> | 2014-07-17 09:55:07 +0400 |
---|---|---|
committer | Fedor Indutny <fedor@indutny.com> | 2014-07-17 15:16:29 +0400 |
commit | 1d3d8c0e5545b1f253dbe4c3525eeb2f1312b689 (patch) | |
tree | d2854731cb48246d149ec7bab4807846d6297d7f /node.gyp | |
parent | 9d9fc3fa3063c9117119c56e69679269250c1213 (diff) | |
download | android-node-v8-1d3d8c0e5545b1f253dbe4c3525eeb2f1312b689.tar.gz android-node-v8-1d3d8c0e5545b1f253dbe4c3525eeb2f1312b689.tar.bz2 android-node-v8-1d3d8c0e5545b1f253dbe4c3525eeb2f1312b689.zip |
gyp: do not let `v8dbg_` slip away on osx
Pass `-force_load` to linker when linking to `libv8_base` to preserve
`v8dbg_` symbols, which are useful for debugging.
Diffstat (limited to 'node.gyp')
-rw-r--r-- | node.gyp | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -271,6 +271,14 @@ 'PLATFORM="darwin"', ], }], + [ 'OS=="mac" and v8_postmortem_support=="true"', { + # Do not let `v8dbg_` symbols slip away + 'xcode_settings': { + 'OTHER_LDFLAGS': [ + '-Wl,-force_load,<(V8_BASE)', + ], + }, + }], [ 'OS=="freebsd"', { 'libraries': [ '-lutil', |