mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
583 B
24 lines
583 B
{
|
|
'target_defaults': {
|
|
'type': 'loadable_module',
|
|
'product_extension': 'node',
|
|
'product_prefix': '',
|
|
'include_dirs': [
|
|
'../src',
|
|
'../deps/uv/include',
|
|
'../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' ],
|
|
}]
|
|
]
|
|
}
|
|
}
|
|
|