mirror of
https://github.com/nodejs/node.git
synced 2025-05-15 03:29:46 +00:00

* Fix #472 Adds support for os/cpu fields in package.json (Adam Blackburn) * Don't use existing pkg if explicit * Install missing deps, even if they are in bundleDependencies * bundle node-gyp * Automatically node-gyp build stuff with a bindings.gyp * Fix #2230 Unpack in place. No folder renaming malarky * Never create un-listable directories * Fix cases where an optionalDependency fails to build * Always ignore .wafpickle-7 files * fix shrinkwrap test * Fix: bundleDependencies being re-installed unnecessarily
25 lines
625 B
Python
25 lines
625 B
Python
{
|
|
'target_defaults': {
|
|
'type': 'loadable_module',
|
|
'product_extension': 'node',
|
|
'product_prefix': '',
|
|
'include_dirs': [
|
|
'<(node_root_dir)/src',
|
|
'<(node_root_dir)/deps/uv/include',
|
|
'<(node_root_dir)/deps/v8/include'
|
|
],
|
|
|
|
'conditions': [
|
|
[ 'OS=="mac"', {
|
|
'libraries': [ '-undefined dynamic_lookup' ],
|
|
}],
|
|
[ 'OS=="win"', {
|
|
'libraries': [ '-l<(node_root_dir)/$(Configuration)/node.lib' ],
|
|
}],
|
|
[ 'OS=="freebsd" or OS=="openbsd" or OS=="solaris" or (OS=="linux" and target_arch!="ia32")', {
|
|
'cflags': [ '-fPIC' ],
|
|
}]
|
|
]
|
|
}
|
|
}
|