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.
25 lines
673 B
25 lines
673 B
{
|
|
'targets': [
|
|
{
|
|
'target_name': 'ping',
|
|
'product_extension': 'so',
|
|
'type': 'shared_library',
|
|
'sources': [ 'ping.c' ],
|
|
'conditions': [
|
|
['OS=="mac"', {
|
|
'xcode_settings': {
|
|
'OTHER_LDFLAGS': [ '-Wl,-undefined', '-Wl,dynamic_lookup' ]
|
|
}}],
|
|
# Pass erok flag to the linker, to prevent unresolved symbols
|
|
# from failing. Still, the test won't pass, so we'll skip it on AIX.
|
|
['OS=="aix"', {
|
|
'ldflags': [ '-Wl,-berok' ]
|
|
}]],
|
|
},
|
|
{
|
|
'target_name': 'binding',
|
|
'defines': [ 'V8_DEPRECATION_WARNINGS=1' ],
|
|
'sources': [ 'binding.cc' ],
|
|
}
|
|
]
|
|
}
|
|
|