mirror of https://github.com/nodejs/node.git
25 lines
584 B
Python
25 lines
584 B
Python
{
|
|
'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' ]
|
|
}}],
|
|
# Enable the shared object to be linked by runtime linker
|
|
['OS in "aix os400"', {
|
|
'ldflags': [ '-Wl,-G' ]
|
|
}]],
|
|
},
|
|
{
|
|
'target_name': 'binding',
|
|
'sources': [ 'binding.cc' ],
|
|
'includes': ['../common.gypi'],
|
|
}
|
|
]
|
|
}
|